cadm

package
v0.0.0-...-dfb818a Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertServerConfig

func ConvertServerConfig(raw *Config) (*carousel.ServerConfig, error)

func Execute

func Execute()

func NewCmdServe

func NewCmdServe() *cobra.Command

func UnmarshalConfig

func UnmarshalConfig() (*carousel.Server, error)

Types

type AdvertiseAddrs

type AdvertiseAddrs struct {
	IRC  string
	HTTP string
}

type CmdServeOptions

type CmdServeOptions struct {
	Host    string
	Port    int
	SSL     bool
	Verbose bool
}

func (*CmdServeOptions) Run

func (o *CmdServeOptions) Run()

type Config

type Config struct {
	LoggingLevel string
	Addrs        *AdvertiseAddrs
	Server       *ServerConfig
}

type ServerConfig

type ServerConfig struct {
	SSL             bool
	CertificatePath string
}

Jump to

Keyboard shortcuts

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