Documentation
¶
Index ¶
- type AWSLambdaEnd
- type AWSLambdaReport
- type AWSLambdaReportInit
- type AWSLambdaStart
- type AWSLambdaTimeout
- type Event
- type HerokuBuild
- type HerokuConfigRemove
- type HerokuConfigSet
- type HerokuDeploy
- type HerokuProcessExit
- type HerokuProcessListening
- type HerokuProcessStart
- type HerokuRelease
- type HerokuRollback
- type HerokuScale
- type HerokuStateChange
- type Syslog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSLambdaEnd ¶
AWSLambdaEnd event.
type AWSLambdaReport ¶
type AWSLambdaReport struct { Rest string RequestID string Duration float64 BilledDuration float64 MemorySize int MaxMemoryUsed int }
AWSLambdaReport event.
type AWSLambdaReportInit ¶ added in v0.0.2
type AWSLambdaReportInit struct { Rest string RequestID string Duration float64 BilledDuration float64 MemorySize int MaxMemoryUsed int InitDuration float64 }
AWSLambdaReportInit event.
type AWSLambdaStart ¶
AWSLambdaStart event.
type AWSLambdaTimeout ¶ added in v1.0.0
AWSLambdaTimeout event.
type Event ¶
Event is the interface used to extract an event from a log line.
func Parse ¶
Parse a log line from any source. Typically it's best to use a targeted parser such as ParseLambda() or ParseHeroku(). Returns true if an event was successfully parsed.
func ParseHeroku ¶ added in v1.1.0
ParseHeroku parses a log line from Heroku. You should first parse the syslog line from Heroku using Syslog, and then ParseHeroku() for the platform specific message. Returns true if an event was successfully parsed.
func ParseLambda ¶ added in v1.1.0
ParseLambda parses a log line from AWS Lambda. Returns true if an event was successfully parsed.
type HerokuBuild ¶ added in v1.1.0
HerokuBuild event.
type HerokuConfigRemove ¶ added in v1.1.0
HerokuConfigRemove event.
type HerokuConfigSet ¶ added in v1.1.0
HerokuConfigSet event.
type HerokuDeploy ¶ added in v1.1.0
HerokuDeploy event.
type HerokuProcessExit ¶ added in v1.1.0
HerokuProcessExit event.
type HerokuProcessListening ¶ added in v1.1.0
HerokuProcessListening event.
type HerokuProcessStart ¶ added in v1.1.0
HerokuProcessStart event.
type HerokuRelease ¶ added in v1.1.0
HerokuRelease event.
type HerokuRollback ¶ added in v1.1.0
HerokuRollback event.
type HerokuScale ¶ added in v1.2.0
HerokuScale event.
type HerokuStateChange ¶ added in v1.1.0
HerokuStateChange event.