hub

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.0.13

func New(st store.Store, kc keychain.Keychain, cfg config.Config) *hub

Types

type AuthTokens added in v0.0.13

type AuthTokens struct {
	HubToken string
	Key      string
	Sig      string
	AppToken string
	Msg      string
}

type HubAuth added in v0.0.13

type HubAuth interface {
	GetTokensWithCache(ctx context.Context) (*AuthTokens, error)
	GetHubContext(ctx context.Context) (context.Context, error)
	ClearCache() error
}

Jump to

Keyboard shortcuts

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