node

package
v0.94.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 27 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	Version, Commit, Date, BuiltBy string
}

type GitHubAuthDemo

type GitHubAuthDemo struct {
	ClientID     string
	ClientSecret string
}

type Node

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

func (*Node) Close added in v0.90.24

func (n *Node) Close() error

func (*Node) Shutdown added in v0.90.24

func (n *Node) Shutdown(ctx context.Context) error

func (*Node) StartBlocking

func (n *Node) StartBlocking(opts ...Option) error

type Option

type Option func(options *options)

func WithConfigFileChange added in v0.91.0

func WithConfigFileChange(event chan struct{}) Option

func WithDebugMode

func WithDebugMode(enable bool) Option

func WithFileSystemConfig

func WithFileSystemConfig(configFilePath string) Option

func WithForceHttpsRedirects

func WithForceHttpsRedirects(forceHttpsRedirects bool) Option

func WithGitHubAuthDemo

func WithGitHubAuthDemo(authDemo GitHubAuthDemo) Option

func WithGlobalRateLimit

func WithGlobalRateLimit(requests int, perDuration time.Duration) Option

func WithHooksSecret

func WithHooksSecret(secret []byte) Option

func WithInsecureCookies

func WithInsecureCookies() Option

func WithIntrospection

func WithIntrospection(enable bool) Option

func WithStaticWunderNodeConfig

func WithStaticWunderNodeConfig(config wgpb.WunderNodeConfig) Option

Jump to

Keyboard shortcuts

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