- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 220 for GOLANG (0.04 sec)
-
internal/http/response-recorder.go
} func (lrw *ResponseRecorder) Write(p []byte) (int, error) { if !lrw.headersLogged { // We assume the response code to be '200 OK' when WriteHeader() is not called, // that way following Golang HTTP response behavior. lrw.WriteHeader(http.StatusOK) } n, err := lrw.ResponseWriter.Write(p) lrw.bytesWritten += n if lrw.ttfbBody == 0 { lrw.ttfbBody = time.Now().UTC().Sub(lrw.StartTime) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/rest/client.go
} // Unwrap returns the error wrapped in NetworkError. func (n *NetworkError) Unwrap() error { return n.Err } // Client - http based RPC client. type Client struct { connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG _ int32 // For 64 bits alignment lastConn int64 // HealthCheckFn is the function set to test for health. // If not set the client will not keep track of health.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 12:55:01 UTC 2024 - 14.7K bytes - Viewed (0) -
tests/postgres_test.go
DB.Migrator().DropTable(&Post{}, &Category{}, "post_categories") DB.AutoMigrate(&Post{}, &Category{}) post := Post{ Title: "Hello World", Categories: []*Category{ {Title: "Coding"}, {Title: "Golang"}, }, } if err := DB.Create(&post).Error; err != nil { t.Errorf("Failed, got error: %v", err) } } func TestPostgresOnConstraint(t *testing.T) { if DB.Dialector.Name() != "postgres" {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0) -
internal/config/dns/operator_dns.go
package dns import ( "context" "crypto/tls" "crypto/x509" "errors" "fmt" "io" "net" "net/http" "net/url" "strconv" "strings" "time" "github.com/golang-jwt/jwt/v4" "github.com/minio/minio/internal/config" xhttp "github.com/minio/minio/internal/http" ) var ( defaultOperatorContextTimeout = 10 * time.Second
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 6.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.17.md
- go.uber.org/zap: 67bc79d → v1.10.0 - golang.org/x/crypto: e84da03 → 60c769a - golang.org/x/lint: 8f45f77 → 959b441 - golang.org/x/net: cdfb69a → 13f9640 - golang.org/x/oauth2: 9f33145 → 0f29369 - golang.org/x/sync: 42b3178 → cd5d95a - golang.org/x/sys: 3b52091 → fde4db3 - golang.org/x/text: e6919f6 → v0.3.2 - golang.org/x/time: f51c127 → 9d24e82 - golang.org/x/tools: 6e04913 → 65e3620
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Jan 28 10:44:33 UTC 2021 - 346.2K bytes - Viewed (1) -
schema/relationship.go
package schema import ( "context" "fmt" "reflect" "strings" "github.com/jinzhu/inflection" "golang.org/x/text/cases" "golang.org/x/text/language" "gorm.io/gorm/clause" ) // RelationshipType relationship type type RelationshipType string const ( HasOne RelationshipType = "has_one" // HasOneRel has one relationship HasMany RelationshipType = "has_many" // HasManyRel has many relationship
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 22.7K bytes - Viewed (0) -
Makefile.core.mk
export VERSION # Base version of Istio image to use BASE_VERSION ?= master-2024-09-19T19-01-03 ISTIO_BASE_REGISTRY ?= gcr.io/istio-release export GO111MODULE ?= on export GOPROXY ?= https://proxy.golang.org export GOSUMDB ?= sum.golang.org # If GOPATH is not set by the env, set it to a sane value GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd) export GOPATH
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 03 23:53:59 UTC 2024 - 18.4K bytes - Viewed (0) -
Makefile
@echo "Installing msgp" && go install -v github.com/tinylib/msgp@v1.2.3-0.20241022140105-4558fbf3a223 @echo "Installing stringer" && go install -v golang.org/x/tools/cmd/stringer@latest crosscompile: ## cross compile minio @(env bash $(PWD)/buildscripts/cross-compile.sh) verifiers: lint check-gen check-gen: ## check for updated autogenerated files
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/sftp-server_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "fmt" "net" "os" "testing" "github.com/minio/madmin-go/v3" "golang.org/x/crypto/ssh" ) type MockConnMeta struct { username string } func (m *MockConnMeta) User() string { return m.username } func (m *MockConnMeta) SessionID() []byte { return []byte{} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/sts/web-identity.go
package main import ( "bytes" "context" "crypto/rand" "encoding/base64" "encoding/json" "errors" "flag" "fmt" "log" "net/http" "net/url" "strings" "time" "golang.org/x/oauth2" "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) // Returns a base64 encoded random 32 byte string. func randomState() string { b := make([]byte, 32)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 19 09:13:33 UTC 2023 - 7.8K bytes - Viewed (0)