stackdriver

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(projectID, foundation string) (*Logger, error)

func (*Logger) Publish

func (lg *Logger) Publish(message Message)

type LoggingProbe

type LoggingProbe struct {
	// contains filtered or unexported fields
}

func NewLoggingProbe

func NewLoggingProbe(projectID string) (*LoggingProbe, error)

func (*LoggingProbe) Find

func (lp *LoggingProbe) Find(start time.Time, needle string, count int) (int, error)

type Message

type Message struct {
	GUID             string  `json:"guid"`
	NumberSent       int     `json:"number_sent"`
	NumberFound      int     `json:"number_found"`
	BurstIntervalSec int     `json:"burst_interval_sec"`
	LossPercentage   float64 `json:"loss_percentage"`
}

Jump to

Keyboard shortcuts

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