Documentation ¶
Index ¶
Constants ¶
View Source
const DRAIN_PREFIX = "tmp.applog_endpoint"
View Source
const LINESERVER_PROTO = "udp"
UDP can lead to data loss, but that's OK for log streaming.
Variables ¶
This section is empty.
Functions ¶
func RemoveOrphanedDrains ¶
func RemoveOrphanedDrains()
RemoveOrphanedDrains removes all drains created by applog_endpoint.
Types ¶
type AppLogDrain ¶
type AppLogDrain struct {
// contains filtered or unexported fields
}
func NewAppLogDrain ¶
func NewAppLogDrain(appGUID string) (*AppLogDrain, error)
func (*AppLogDrain) Id ¶
func (d *AppLogDrain) Id() string
func (*AppLogDrain) Start ¶
func (d *AppLogDrain) Start() (chan string, error)
func (*AppLogDrain) Stop ¶
func (d *AppLogDrain) Stop(reason error)
func (*AppLogDrain) Wait ¶
func (d *AppLogDrain) Wait() error
Click to show internal directories.
Click to hide internal directories.