config

package
v0.0.0-...-4314f45 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: BSD-3-Clause Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetStaticDir

func AssetStaticDir() string

func TlsDir

func TlsDir() string

Types

type Config

type Config struct {
	Paths       Paths
	ServeConfig ServeConfig
}

func New

func New() (*Config, error)

type Paths

type Paths struct {
	PublicPath string
	DataDir    string
}

type ServeConfig

type ServeConfig struct {
	HttpsPort int
	HttpPort  int
	Bind      string
	DevHttps  bool
	Https     bool
}

Jump to

Keyboard shortcuts

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