client

package
v0.0.0-...-b7b0499 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2021 License: Apache-2.0 Imports: 8 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 {
	Resolve(accountID string) (string, string, error)
}

func NewClient

func NewClient(ctx context.Context, c *Config) (Client, error)

NewClient create a new client require context

type Config

type Config struct {
	ServerAddr   string
	ClientID     string
	ClientSecret string
}

Jump to

Keyboard shortcuts

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