Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
cf
|
|
blobstore
Setup optional env JSON value: goboot_blobstore={ "name": "", }
|
Setup optional env JSON value: goboot_blobstore={ "name": "", } |
postgres
http://gobook.io/read/github.com/go-xorm/manual-en-US/ Setup optional env JSON value: goboot_postgres={ "name": "Your_Postgres_Service_Name", "connection": { "max_open": 0, "max_idle": 0 }, "orm": { "enable": false, "show_sql": false } } See the following for connection settings: https://golang.org/pkg/database/sql/#DB.SetMaxIdleConns https://golang.org/pkg/database/sql/#SetMaxOpenConns
|
http://gobook.io/read/github.com/go-xorm/manual-en-US/ Setup optional env JSON value: goboot_postgres={ "name": "Your_Postgres_Service_Name", "connection": { "max_open": 0, "max_idle": 0 }, "orm": { "enable": false, "show_sql": false } } See the following for connection settings: https://golang.org/pkg/database/sql/#DB.SetMaxIdleConns https://golang.org/pkg/database/sql/#SetMaxOpenConns |
Code is taken from github.com/caarlos0/env and modified to handle JSON values for examples, please visit the github repo Package config provides Settings interface for accessing Predix environment variables.
|
Code is taken from github.com/caarlos0/env and modified to handle JSON values for examples, please visit the github repo Package config provides Settings interface for accessing Predix environment variables. |
Setup env JSON value: goboot_elastic={ "urls": [], "healthcheck": { "enable": false }, "sniff": { "enable": false "scheme": "http" } }
|
Setup env JSON value: goboot_elastic={ "urls": [], "healthcheck": { "enable": false }, "sniff": { "enable": false "scheme": "http" } } |
Usage: var log = logging.ContextLogger Setup env JSON value: goboot_logging={ "level": "DEBUG" } Logging levels: DEBUG, INFO, WARN, ERROR, PANIC, FATAL default is DEBUG FATAL will terminate your app
|
Usage: var log = logging.ContextLogger Setup env JSON value: goboot_logging={ "level": "DEBUG" } Logging levels: DEBUG, INFO, WARN, ERROR, PANIC, FATAL default is DEBUG FATAL will terminate your app |
Setup env JSON value: goboot_newrelic={ "enable": true, "name: "Your_App_Name", "license: "__YOUR_NEW_RELIC_LICENSE_KEY__" }
|
Setup env JSON value: goboot_newrelic={ "enable": true, "name: "Your_App_Name", "license: "__YOUR_NEW_RELIC_LICENSE_KEY__" } |
based on https://github.com/cenkalti/backoff/blob/master/exponential.go
|
based on https://github.com/cenkalti/backoff/blob/master/exponential.go |
Click to show internal directories.
Click to hide internal directories.