loganalytics

package module
v0.0.0-...-a70f122 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeGeneratedFormat string = time.RFC3339
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LogAnalytics

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

func NewLogAnalytics

func NewLogAnalytics(workspaceId string, sharedKey string, logName string) *LogAnalytics

func (*LogAnalytics) Add

func (this *LogAnalytics) Add(item interface{})

func (*LogAnalytics) AddMulti

func (this *LogAnalytics) AddMulti(items []interface{})

func (*LogAnalytics) Finalize

func (this *LogAnalytics) Finalize()

type LogItem

type LogItem struct {
	TimeGenerated LogTime `json:"TimeGenerated"`
}

type LogTime

type LogTime time.Time

func (LogTime) MarshalJSON

func (t LogTime) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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