state

package
v0.0.0-...-f9f7919 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyRulesConfig

type ProxyRulesConfig struct {
	Egress  []string `json:"egress"`
	Ingress []string `json:"ingress"`
}

type State

type State struct {
	AuthToken        *oauth2.Token    `json:"auth-token,omitempty"`
	PublicKey        string           `json:"public-key"`
	PrivateKey       string           `json:"private-key"`
	ProxyRulesConfig ProxyRulesConfig `json:"proxy-rules-config"`
	Port             int              `json:"port"`
}

type Store

type Store interface {
	fmt.Stringer
	io.Closer
	Load() error
	Store() error
	State() *State
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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