server

package
v0.4.16 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: BSD-3-Clause-Clear Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(f ...StartOptions) error

Types

type StartConfig

type StartConfig struct {
	ConfigKey             string
	ConfigFile            string
	WaitForShutdownSignal bool
	PublicRoutes          []string
	// contains filtered or unexported fields
}

type StartOptions

type StartOptions func(StartConfig) StartConfig

func WithAuthZDefaultPolicyExtension added in v0.4.10

func WithAuthZDefaultPolicyExtension(policies [][]string) StartOptions

func WithConfigFile

func WithConfigFile(file string) StartOptions

func WithConfigKey

func WithConfigKey(key string) StartOptions

func WithConfigName deprecated

func WithConfigName(name string) StartOptions

Deprecated: Use WithConfigKey

func WithPublicRoutes

func WithPublicRoutes(routes []string) StartOptions

func WithWaitForShutdownSignal

func WithWaitForShutdownSignal() StartOptions

Jump to

Keyboard shortcuts

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