Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewURLValuesWith (0.18 sec)

  1. cmd/peer-rest-client.go

    	}
    	for host := range opts.hosts {
    		values.Add(peerRESTHost, host)
    	}
    	values.Set(peerRESTJobID, opts.jobID)
    	values.Set(peerRESTDepID, opts.depID)
    	v, err := getMetricsRPC.Call(ctx, client.gridConn(), grid.NewURLValuesWith(values))
    	return v.ValueOrZero(), err
    }
    
    // GetProcInfo - fetch MinIO process information for a remote node.
    func (client *peerRESTClient) GetProcInfo(ctx context.Context) (info madmin.ProcInfo, err error) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. internal/grid/types.go

    	},
    }
    
    // NewURLValues returns a new URLValues.
    func NewURLValues() *URLValues {
    	u := URLValues(urlValuesPool.Get().(map[string][]string))
    	return &u
    }
    
    // NewURLValuesWith returns a new URLValues with the provided content.
    func NewURLValuesWith(values map[string][]string) *URLValues {
    	u := URLValues(values)
    	return &u
    }
    
    // Values returns the url.Values.
    // If u is nil, an empty url.Values is returned.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top