Configs

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostConfig

type HostConfig struct {
	Name     string       `mapstructure:"name"`
	Metadata string       `mapstructure:"metadata"`
	Server   ServerConfig `mapstructure:"server"`
}

type ServerConfig

type ServerConfig struct {
	ServerType     string       `mapstructure:"type"`
	Address        string       `mapstructure:"address"`
	MaxRequestSize string       `mapstructure:"max_request_size"`
	Static         StaticConfig `mapstructure:"static"`
}

type StaticConfig

type StaticConfig struct {
	Patten  string `mapstructure:"patten"`
	WebRoot string `mapstructure:"webroot"`
}

Jump to

Keyboard shortcuts

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