Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pastie (0.14 sec)

  1. cmd/ftp-server.go

    			}
    			if port < 1 || port > 65535 {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s, (port number must be between 1 to 65535)", arg), "unable to start FTP server")
    			}
    			publicIP = host
    		case "passive-port-range":
    			portRange = tokens[1]
    		case "tls-private-key":
    			tlsPrivateKey = tokens[1]
    		case "tls-public-cert":
    			tlsPublicCert = tokens[1]
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  2. internal/config/server.go

    package config
    
    // Opts holds MinIO configuration options
    type Opts struct {
    	FTP struct {
    		Address          string `yaml:"address"`
    		PassivePortRange string `yaml:"passive-port-range"`
    	} `yaml:"ftp"`
    	SFTP struct {
    		Address       string `yaml:"address"`
    		SSHPrivateKey string `yaml:"ssh-private-key"`
    	} `yaml:"sftp"`
    }
    
    // ServerConfigVersion struct is used to extract the version
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top