conf

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInfo added in v1.0.1

type AppInfo struct {
	Id bson.ObjectId `bson:"_id"`
}

type Input added in v1.0.1

type Input struct {
	Where bson.M `json:"where"`
	Data  bson.M `json:"data"`
	Other struct {
		Page  int
		Limit int
	} `json:"other"`
	Table string `json:"table"`
	Mode  string `json:"mode"`
	Auth  string `json:"auth"`
}

type MongoDB

type MongoDB struct {
	Host      string        `yaml:"Host"`
	Auth      string        `yaml:"Auth"`
	Username  string        `yaml:"Username"`
	Password  string        `yaml:"Password"`
	Timeout   time.Duration `yaml:"Timeout"`
	PoolLimit int           `yaml:"PoolLimit"`
	URI       string        `yaml:"URI"`
}

Jump to

Keyboard shortcuts

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