config

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigFile  = "reciva-web-remote.json"
	DefaultPort = 8080
)

Variables

This section is empty.

Functions

func WithFlag

func WithFlag(c *Config)

Types

type Config

type Config struct {
	CPort       int
	ConfigFile  string
	Port        int
	PortStr     string
	ShowInfo    bool
	ShowVersion bool
}

func NewConfig

func NewConfig(options ...func(*Config)) *Config

Jump to

Keyboard shortcuts

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