Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,405 for Golang (0.05 sec)

  1. internal/config/errors-utils.go

    func ErrorToErr(err error) Err {
    	if err == nil {
    		return Err{}
    	}
    
    	// If this is already a Err, do nothing
    	if e, ok := err.(Err); ok {
    		return e
    	}
    
    	// Show a generic message for known golang errors
    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. internal/kms/secret-key.go

    	"crypto/aes"
    	"crypto/cipher"
    	"crypto/hmac"
    	"encoding/base64"
    	"encoding/json"
    	"errors"
    	"strconv"
    	"strings"
    	"sync/atomic"
    
    	"github.com/secure-io/sio-go/sioutil"
    	"golang.org/x/crypto/chacha20"
    	"golang.org/x/crypto/chacha20poly1305"
    
    	"github.com/minio/kms-go/kms"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/hash/sha256"
    )
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Apr 21 16:23:51 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. Dockerfile.hotfix

    FROM golang:1.24-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH=/go
    ENV CGO_ENABLED=0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature files
    RUN curl -s -q https://dl.min.io/server/minio/hotfixes/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. buildscripts/checkdeps.sh

    		exit 1
    		;;
    	esac
    }
    
    assert_check_golang_env() {
    	if ! which go >/dev/null 2>&1; then
    		echo "Cannot find go binary in your PATH configuration, please refer to Go installation document at https://golang.org/doc/install"
    		exit 1
    	fi
    
    	installed_go_version=$(go version | sed 's/^.* go\([0-9.]*\).*$/\1/')
    	if ! check_minimum_version "${GO_VERSION}" "${installed_go_version}"; then
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jun 08 16:12:05 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt_test.go

    package openid
    
    import (
    	"bytes"
    	"encoding/base64"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"sync"
    	"testing"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/config"
    	jwtm "github.com/minio/minio/internal/jwt"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.31.md

    - go.opentelemetry.io/proto/otlp: v1.0.0 → v1.3.1
    - golang.org/x/crypto: v0.21.0 → v0.24.0
    - golang.org/x/exp: a9213ee → f3d0a9c
    - golang.org/x/lint: 6edffad → 1621716
    - golang.org/x/mod: v0.15.0 → v0.17.0
    - golang.org/x/net: v0.23.0 → v0.26.0
    - golang.org/x/oauth2: v0.10.0 → v0.21.0
    - golang.org/x/sync: v0.6.0 → v0.7.0
    - golang.org/x/sys: v0.18.0 → v0.21.0
    - golang.org/x/telemetry: b75ee88 → f48c80b
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Nov 12 11:33:21 UTC 2025
    - 451.9K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.21.md

    - golang.org/x/crypto: 7f63de1 → 5ea612d
    - golang.org/x/exp: 6cc2880 → 85be41e
    - golang.org/x/mobile: d2bd2a2 → e6ae53a
    - golang.org/x/mod: v0.3.0 → ce943fd
    - golang.org/x/net: 69a7880 → 3d97a24
    - golang.org/x/sync: cd5d95a → 67f06af
    - golang.org/x/sys: 5cba982 → a50acf3
    - golang.org/x/time: 3af7569 → f8bda1e
    - golang.org/x/tools: c1934b7 → v0.1.0
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  8. cmd/signature-v4-utils.go

    			val, ok = reqQueries[header]
    		}
    		if ok {
    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = val
    			continue
    		}
    		switch header {
    		case "expect":
    			// Golang http server strips off 'Expect' header, if the
    			// client sent this as part of signed headers we need to
    			// handle otherwise we would see a signature mismatch.
    			// `aws-cli` sets this as part of signed headers.
    			//
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. internal/disk/stat_windows.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"os"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    var (
    	kernel32 = windows.NewLazySystemDLL("kernel32.dll")
    
    	// GetDiskFreeSpaceEx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. cmd/jwt_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"net/http"
    	"os"
    	"testing"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	xjwt "github.com/minio/minio/internal/jwt"
    )
    
    func getTokenString(accessKey, secretKey string) (string, error) {
    	claims := xjwt.NewMapClaims()
    	claims.SetExpiry(UTCNow().Add(defaultJWTExpiry))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top