tokens

package
v0.0.0-...-59f949b Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetToken(nickname string) (token string, err error)
}

type Response

type Response struct {
	Token string `json:"token"`
}

type TokenClient

type TokenClient struct {
	BaseURL string
	// contains filtered or unexported fields
}

func NewTokenClient

func NewTokenClient(baseURL string) *TokenClient

func (*TokenClient) GetToken

func (client *TokenClient) GetToken(nickname string) (token string, err error)

Jump to

Keyboard shortcuts

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