Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultTimeout = 10 * time.Second
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Timeout time.Duration MaxLatency time.Duration MaxRetries int // contains filtered or unexported fields }
type ConfigOption ¶
type Credentials ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(config string, port int, auth *Credentials, options ...Option) *Provider
type Server ¶
type Server interface { Config() string Host() string Name() string Credentials() Credentials }
func NewServer ¶
func NewServer(config string, auth *Credentials, options ...Option) (Server, error)
func NewServerFromURL ¶
func NewServerFromURL(configURL string, auth *Credentials, options ...Option) (Server, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.