Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Server Config 2 ServerConfig // User doc2 User UserConfig }
Config docs.
func DefaultConfig ¶
func DefaultConfig() Config
type ServerConfig ¶
type ServerConfig struct { // Server port to listen on. Port int // Server host to listen on. Host string // contains filtered or unexported fields }
Server config docs.
type UserConfig ¶
type UserConfig struct { // User name for login. Username string // Password for login. Password string }
User Config docs.
Click to show internal directories.
Click to hide internal directories.