config

package
v0.0.0-...-82c95b6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Composition

type Composition struct {
	Server *ServerCfg
	Db     *DbCfg
}

type DbCfg

type DbCfg struct {
	Addr     string
	Port     string
	DbName   string
	User     string
	Password string
}

func (*DbCfg) ConnString

func (db *DbCfg) ConnString() string

type ServerCfg

type ServerCfg struct {
	RpcPort   string
	HttpPort  string
	HttpsPort string
	TlsCert   string
	TlsKey    string
}

Jump to

Keyboard shortcuts

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