Documentation ¶
Index ¶
- type AwsClient
- type Client
- func (c Client) ReadFile(userId string, fileName string) (string, error)
- func (c Client) SaveFile(userId string, fileName string, content string) error
- func (c Client) UpdateErrorMetric(service string, method string, errorCode string) error
- func (c Client) UpdateQPSMetric(userId string, service string, method string) error
- type LocalClient
- func (c LocalClient) ReadFile(configPrefix string, fileName string) (string, error)
- func (c LocalClient) SaveFile(configPrefix string, fileName string, content string) error
- func (c LocalClient) UpdateErrorMetric(_ string, _ string, _ string) error
- func (c LocalClient) UpdateQPSMetric(_ string, service string, method string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsClient ¶ added in v0.1.36
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) UpdateErrorMetric ¶ added in v0.1.25
type LocalClient ¶ added in v0.1.36
type LocalClient struct { }
func (LocalClient) ReadFile ¶ added in v0.1.36
func (c LocalClient) ReadFile(configPrefix string, fileName string) (string, error)
func (LocalClient) SaveFile ¶ added in v0.1.36
func (c LocalClient) SaveFile(configPrefix string, fileName string, content string) error
func (LocalClient) UpdateErrorMetric ¶ added in v0.1.36
func (c LocalClient) UpdateErrorMetric(_ string, _ string, _ string) error
func (LocalClient) UpdateQPSMetric ¶ added in v0.1.36
func (c LocalClient) UpdateQPSMetric(_ string, service string, method string) error
Click to show internal directories.
Click to hide internal directories.