Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppContext ¶
type AppContext struct { // Configuration data that is not held in the configuration database. Config Config ConfigDB *configdb.ConfigDB Userstore core.UserStore // The interface to the underlying datastore. DataStore core.Datastore ElasticSearch *elasticsearch.ElasticSearch ReportService core.ReportService GeoIpService *geoip.GeoIpService Features map[core.Feature]bool // A default time range to send to a client. Mainly useful for oneshot // server mode where we want to set a better time range. DefaultTimeRange string // Tell the client to ignore any locally stored configuration of the // default time range. ForceDefaultTimeRange bool }
func (*AppContext) SetFeature ¶
func (c *AppContext) SetFeature(feature core.Feature)
Click to show internal directories.
Click to hide internal directories.