Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps serverscom API client
func NewWithClient ¶
func NewWithClient(client *serverscom.Client) *Client
func (*Client) GetScClient ¶
func (c *Client) GetScClient() *serverscom.Client
func (*Client) SetUserAgent ¶
SetUserAgent sets new user agent for client
func (*Client) SetVerbose ¶
SetVerbose reads verbose from config or cmd flag a
type ClientFactory ¶
type DefaultClientFactory ¶
type DefaultClientFactory struct{}
func (*DefaultClientFactory) NewClient ¶
func (f *DefaultClientFactory) NewClient(token, endpoint string) *Client
type TestClientFactory ¶
type TestClientFactory struct {
TestClient *Client
}
func (*TestClientFactory) NewClient ¶
func (f *TestClientFactory) NewClient(token, endpoint string) *Client
Click to show internal directories.
Click to hide internal directories.