Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var GITCOMMIT string //nolint:gochecknoglobals
GITCOMMIT indicates which git hash the binary was built off of
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
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.