foo

package
v0.0.0-...-8635785 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 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 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.

Jump to

Keyboard shortcuts

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