Documentation
¶
Index ¶
Constants ¶
View Source
const ( ID_LENGTH = 12 INITIAL_OFFSET = 0 STDOUT = "stdout" STDERR = "stderr" )
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig()
Types ¶
type Config ¶
type Config struct {
MaxRecordSize int `json:"max_record_size"`
MaxLinesPerSecond int64 `json:"max_lines_per_second"`
MaxLinesBurst uint16 `json:"max_lines_burst"`
FileSizeLimit int64 `json:"read_limit"`
PersistPositionIntervalSeconds int64 `json:"persist_position_interval_seconds"`
}
func (*Config) GetLeakyBucket ¶
func (c *Config) GetLeakyBucket() *ratelimiter.LeakyBucket
type Instance ¶
type Instance struct {
AppGUID string
AppName string
AppSpace string
Type string
Index int
DockerId string `json:"docker_id"`
RootPath string
LogFiles map[string]string
DockerStreams bool `json:"docker_streams"`
// contains filtered or unexported fields
}
Instance is the NATS message sent by dea_ng to notify of new instances.
func (*Instance) Identifier ¶
func (*Instance) SendTimelineEvent ¶
Click to show internal directories.
Click to hide internal directories.