logclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogClient

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

LogClient is the client for log analytics

func NewLogClient

func NewLogClient(workspaceID, workspaceSecret, logType string, metadata map[string]string) LogClient

NewLogClient creates a log client

func (*LogClient) PostMessage

func (c *LogClient) PostMessage(message string, timestamp time.Time) error

PostMessage logs a single message to log analytics service

func (*LogClient) PostMessages

func (c *LogClient) PostMessages(messages []string, timestamp time.Time) error

PostMessages logs an array of messages to log analytics service

Source Files

  • hmac.go
  • logclient.go

Jump to

Keyboard shortcuts

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