Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Clients = map[string]*VersionedClient{}
Clients contains the map of versioned clients
Functions ¶
Types ¶
type ClientOptions ¶
type ClientOptions struct { URLs []string UserInfo *url.Userinfo HTTPClient *http.Client Index string ParentID string }
ClientOptions defines the available options that can be used to configured the client.Writer
type Creator ¶
type Creator func(*ClientOptions) (client.Writer, error)
Creator defines the func signature expected for any implementing Writer
type VersionedClient ¶
type VersionedClient struct { Constraint version.Constraints Creator Creator }
VersionedClient encapsulates a version.Constraints and Creator func that can be stopred in the Clients map.
Click to show internal directories.
Click to hide internal directories.