message

package
v3.6.0-rc07+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	LogFilename   string `json:"filename"`
	Source        string `json:"source"` // example: app, staging, stackato.dea_ng
	InstanceIndex int    `json:"instance_index"`
	AppGUID       string `json:"app_guid"`
	AppName       string `json:"app_name"`
	AppSpace      string `json:"app_space"`
	common.MessageCommon
}

Message corresponds to an entry in the app log stream.

func (*Message) Publish

func (msg *Message) Publish(pub *zmqpubsub.Publisher, allowInvalidJson bool) error

Publish publishes an AppLogMessage to logyard after sanity checks.

Jump to

Keyboard shortcuts

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