segment

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WriteKey = "R7jGNYYO5gH0Nl5gDlMEuZ3gPlDJKQak" // test

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(config *crcConfig.Config, transport http.RoundTripper) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) UploadAction added in v1.26.0

func (c *Client) UploadAction(action, source, status string) error

func (*Client) UploadCmd added in v1.26.0

func (c *Client) UploadCmd(ctx context.Context, action string, duration time.Duration, err error) error

Jump to

Keyboard shortcuts

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