server_options

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerOption

type ServerOption interface {
	// contains filtered or unexported methods
}

func WithConfig

func WithConfig(cfg *config.Config) ServerOption

type ServerOptions

type ServerOptions struct {
	Config *config.Config
}

func NewServerOptions

func NewServerOptions(opts []ServerOption) *ServerOptions

Jump to

Keyboard shortcuts

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