server

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: BSD-3-Clause Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendWWWFlags

func AppendWWWFlags(fs *flag.FlagSet) error

func DefaultFlagSet

func DefaultFlagSet() (*flag.FlagSet, error)

func Run

func Run(ctx context.Context, logger *log.Logger) error

func RunWithFlagSet

func RunWithFlagSet(ctx context.Context, fs *flag.FlagSet, logger *log.Logger) error

func RunWithOptions

func RunWithOptions(ctx context.Context, opts *RunOptions) error

Types

type RunOptions

type RunOptions struct {
	Logger        *log.Logger
	FlagSet       *flag.FlagSet
	EnvFlagPrefix string
}

Jump to

Keyboard shortcuts

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