internal

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogRequestFormat = "[%s '%s'] %s\n"
)

Variables

This section is empty.

Functions

func NewTestEquinoxConfig added in v0.5.0

func NewTestEquinoxConfig() *api.EquinoxConfig

Creates an EquinoxConfig for tests.

Types

type InternalClient

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

func NewInternalClient added in v0.2.0

func NewInternalClient(config *api.EquinoxConfig) *InternalClient

Returns a new client using the API key provided.

func (*InternalClient) Do added in v0.3.0

func (c *InternalClient) Do(method string, route interface{}, endpoint string, body interface{}, object interface{}) error

Executes a http request.

type Logger added in v0.2.0

type Logger struct {
	Info  *log.Logger
	Warn  *log.Logger
	Error *log.Logger
}

func NewLogger added in v0.2.0

func NewLogger() *Logger

Returns a new Logger.

Jump to

Keyboard shortcuts

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