Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GITCOMMIT string //nolint:gochecknoglobals
GITCOMMIT indicates which git hash the binary was built off of
View Source
var UIDir http.FileSystem //nolint:gochecknoglobals // we could embed this in a special serve command struct, but it adds a lot of complexity
UIDir holds the embedded static web files
View Source
var VERSION string //nolint:gochecknoglobals
VERSION indicates which version of the binary is running.
Functions ¶
Types ¶
type StackdriverFormatter ¶
type StackdriverFormatter struct {
// contains filtered or unexported fields
}
StackdriverFormatter implements threaded Stackdriver formatting for logrus.
func NewStackdriverFormatter ¶
func NewStackdriverFormatter(projectID string, options ...StackdriverOption) *StackdriverFormatter
NewStackdriverFormatter returns a new Stackdriver Formatter.
type StackdriverOption ¶
type StackdriverOption func(*StackdriverFormatter)
StackdriverOption lets you configure the Formatter.
Click to show internal directories.
Click to hide internal directories.