MCPcopy
hub / github.com/minio/minio-go / EndpointURL

Method EndpointURL

api.go:226–229  ·  view source on GitHub ↗

EndpointURL returns the URL of the S3-compatible endpoint that this client connects to. Returns a copy of the endpoint URL to prevent modification of internal state.

()

Source from the content-addressed store, hash-verified

224//
225// Returns a copy of the endpoint URL to prevent modification of internal state.
226func (c *Client) EndpointURL() *url.URL {
227 endpoint := *c.endpointURL // copy to prevent callers from modifying internal state
228 return &endpoint
229}
230
231// lockedRandSource provides protected rand source, implements rand.Source interface.
232type lockedRandSource struct {

Callers 1

testCorsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected