Documentation
¶
Index ¶
- func GetURLWithAuthorizationHash(req *http.Request) string
- func NewLogger(config api.EquinoxConfig) zerolog.Logger
- type Client
- func (c *Client) Execute(ctx context.Context, equinoxReq api.EquinoxRequest, target any) error
- func (c *Client) ExecuteRaw(ctx context.Context, equinoxReq api.EquinoxRequest) ([]byte, error)
- func (c *Client) GetDDragonLOLVersions(ctx context.Context, id string) ([]string, error)
- func (c *Client) Logger(id string) zerolog.Logger
- func (c *Client) Request(ctx context.Context, logger zerolog.Logger, baseURL string, httpMethod string, ...) (api.EquinoxRequest, error)
- type Loggers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetURLWithAuthorizationHash ¶ added in v0.19.6
Generates an URL with the Authorization header if it exists. Don't want to store the Authorization header as key in plaintext.
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
func (*Client) ExecuteRaw ¶ added in v0.19.6
ExecuteRaw executes a request without checking cache and returns []byte
func (*Client) GetDDragonLOLVersions ¶ added in v0.19.0
Click to show internal directories.
Click to hide internal directories.