Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ServerInfo (0.15 sec)

  1. src/net/smtp/smtp_test.go

    }
    
    func TestAuthPlain(t *testing.T) {
    
    	tests := []struct {
    		authName string
    		server   *ServerInfo
    		err      string
    	}{
    		{
    			authName: "servername",
    			server:   &ServerInfo{Name: "servername", TLS: true},
    		},
    		{
    			// OK to use PlainAuth on localhost without TLS
    			authName: "localhost",
    			server:   &ServerInfo{Name: "localhost", TLS: false},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. cmd/notification.go

    	for _, sinfo := range replies {
    		storageInfo.Disks = append(storageInfo.Disks, sinfo.Disks...)
    	}
    
    	return storageInfo
    }
    
    // ServerInfo - calls ServerInfo RPC call on all peers.
    func (sys *NotificationSys) ServerInfo(ctx context.Context, metrics bool) []madmin.ServerProperties {
    	reply := make([]madmin.ServerProperties, len(sys.peerClients))
    	var wg sync.WaitGroup
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    		peerRESTMetrics: strconv.FormatBool(metrics),
    	}))
    	return resp.ValueOrZero(), err
    }
    
    // ServerInfo - fetch server information for a remote node.
    func (client *peerRESTClient) ServerInfo(ctx context.Context, metrics bool) (info madmin.ServerProperties, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. src/net/smtp/smtp.go

    func (c *Client) Auth(a Auth) error {
    	if err := c.hello(); err != nil {
    		return err
    	}
    	encoding := base64.StdEncoding
    	mech, resp, err := a.Start(&ServerInfo{c.serverName, c.tls, c.auth})
    	if err != nil {
    		c.Quit()
    		return err
    	}
    	resp64 := make([]byte, encoding.EncodedLen(len(resp)))
    	encoding.Encode(resp64, resp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. cmd/api-router.go

    }
    
    // corsHandler handler for CORS (Cross Origin Resource Sharing)
    func corsHandler(handler http.Handler) http.Handler {
    	commonS3Headers := []string{
    		xhttp.Date,
    		xhttp.ETag,
    		xhttp.ServerInfo,
    		xhttp.Connection,
    		xhttp.AcceptRanges,
    		xhttp.ContentRange,
    		xhttp.ContentEncoding,
    		xhttp.ContentLength,
    		xhttp.ContentType,
    		xhttp.ContentDisposition,
    		xhttp.LastModified,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
Back to top