logstore

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for logstore service.

func New

func New(c *appmain.Clients) *Client

New creates a new Client for communicating with logstore.

func (*Client) Write

func (c *Client) Write(ctx context.Context, msg proto.Message) error

Write a log entry to logstore.

func (*Client) WriteWithTimestamp

func (c *Client) WriteWithTimestamp(ctx context.Context, ts time.Time, msg proto.Message) error

WriteWithTimestamp a log entry to logstore at a particular timestamp.

Jump to

Keyboard shortcuts

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