client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	APIKey() string
	APISecret() string
	IsProduction() bool
}

Interface defines how a client should behave By satisfying this interface, you can use your own client (eg: `endpoints.Connect( <yourClient> )`

func Default

func Default(apikey, apisecret string, isproduction bool) Interface

Default is an "batteries-included" default client that can be used out of the box

Jump to

Keyboard shortcuts

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