app_context

package
v0.0.0-...-5fdc40f Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2017 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppContext

type AppContext interface {
	AppName() string
	BaseExternalURL() string
	CodeVersion() string
	DB() *sqlx.DB
	Hostname() string
	JSONSchemaFilePath() string
	Logger() logger.CtxLogger
	MetricsClient() metrics.MetricsClient
	MetricsEnabled() bool
	RollbarClient() rollbar.Client
	RollbarEnabled() bool
	ServicePort() int
	SetLogger(logger.CtxLogger) AppContext
	StartStatsSender() error
	StopStatsSender() error
	TiltEnv() string
}

func NewAppContext

func NewAppContext(app_name string) (AppContext, error)

Jump to

Keyboard shortcuts

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