internal

package
v0.19.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger added in v0.2.0

func NewLogger(config api.EquinoxConfig) zerolog.Logger

Types

type Client added in v0.19.0

type Client struct {
	// contains filtered or unexported fields
}

func NewInternalClient added in v0.2.0

func NewInternalClient(config api.EquinoxConfig) (*Client, error)

func (*Client) Execute added in v0.19.0

func (c *Client) Execute(ctx context.Context, equinoxReq api.EquinoxRequest, target any) error

func (*Client) GetDDragonLOLVersions added in v0.19.0

func (c *Client) GetDDragonLOLVersions(ctx context.Context, id string) ([]string, error)

func (*Client) Logger added in v0.19.0

func (c *Client) Logger(id string) zerolog.Logger

Used to access the internal logger, this is used to log events from other clients (RiotClient, LOLClient...).

func (*Client) Request added in v0.19.0

func (c *Client) Request(ctx context.Context, logger zerolog.Logger, baseURL string, httpMethod string, route any, path string, methodID string, body any) (api.EquinoxRequest, error)

type Loggers added in v0.19.0

type Loggers struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL