serve

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: GPL-3.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Root

func Root(opts Options, logger log.Logger) *cobra.Command

Returns the root serve command

Types

type Options

type Options interface {
	ServerOptions
	startup.ServerOptions
}

type ServerOptions added in v1.2.0

type ServerOptions interface {
	Secret() []byte
	IsSecure() bool
	ListenAddress() string
	Domain() deployment.Url
}

Configuration options needed by the server to handle request correctly.

Jump to

Keyboard shortcuts

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