Documentation
¶
Index ¶
- func SetName(name string)
- type App
- type Info
- type Option
- func AddLogCaller() Option
- func AddLogStacktrace(level string) Option
- func WithAdminHTTP(port uint16) Option
- func WithExitSignals(sig ...os.Signal) Option
- func WithLogField(key string, value interface{}) Option
- func WithPublicGRPc(port uint16) Option
- func WithPublicHTTP(port uint16) Option
- func WithTLSConfig(config *tls.Config) Option
- func WithTLSKeyPair(certFile, keyFile string) Option
- type RunOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
func AddLogCaller ¶
func AddLogCaller() Option
AddLogCaller configures the Logger to annotate each message with the filename and line number of zap's caller. See also WithCaller.
func AddLogStacktrace ¶
AddLogStacktrace configures the Logger to record a stack trace for all messages at or above a given level.
func WithAdminHTTP ¶
func WithExitSignals ¶
func WithLogField ¶
WithLogField adds field to the Logger.
func WithPublicGRPc ¶
func WithPublicHTTP ¶
func WithTLSConfig ¶
func WithTLSKeyPair ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
protoc-gen-tron
module
|
|
|
tron
module
|
|
|
example
module
|
|
|
internal
|
|
|
http/swagger
Package swagger generated by go-bindata.// sources: data/favicon-16x16.png data/favicon-32x32.png data/index.html data/oauth2-redirect.html data/swagger-ui-bundle.js data/swagger-ui-standalone-preset.js data/swagger-ui.css data/swagger-ui.js
|
Package swagger generated by go-bindata.// sources: data/favicon-16x16.png data/favicon-32x32.png data/index.html data/oauth2-redirect.html data/swagger-ui-bundle.js data/swagger-ui-standalone-preset.js data/swagger-ui.css data/swagger-ui.js |
Click to show internal directories.
Click to hide internal directories.