Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogger ¶ added in v0.2.0
Creates a new zap.Logger from the configuration parameters provided.
func NewTestEquinoxConfig ¶ added in v0.5.0
func NewTestEquinoxConfig() *api.EquinoxConfig
Creates an EquinoxConfig for tests.
Types ¶
type InternalClient ¶
func NewInternalClient ¶ added in v0.2.0
func NewInternalClient(config *api.EquinoxConfig) *InternalClient
Returns a new InternalClient using configuration object provided.
func (*InternalClient) Do ¶ added in v0.3.0
func (c *InternalClient) Do(method string, route interface{}, endpoint string, requestBody io.Reader, object interface{}, authorizationHeader string) error
Creates, sends and decodes a HTTP request.
func (*InternalClient) Logger ¶ added in v0.7.0
func (c *InternalClient) Logger(client string, endpoint string, method string) *zap.SugaredLogger
Used to access the logger from the InternalClient, this is used to log events from other clients (RiotClient, LOLClient...)
Click to show internal directories.
Click to hide internal directories.