config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenStorage

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

func NewAccessTokenStorage

func NewAccessTokenStorage() *AccessTokenStorage

func (*AccessTokenStorage) Get

func (*AccessTokenStorage) Put

func (o *AccessTokenStorage) Put(accessToken *response.AccessTokenBean)

type Credential

type Credential struct {
	AppKey    string
	AppSecret string
}

Credential ***

func NewCredential

func NewCredential(appKey string, appSecret string) *Credential

NewCredential ***

type Endpoint

type Endpoint struct {
	APIHost  string // consts.APIHost
	FileHost string // consts.FileHost
}

Endpoint ***

func NewEndpoint

func NewEndpoint(apiHost string, fileHost string) *Endpoint

NewEndpoint ***

Jump to

Keyboard shortcuts

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