segment

package
v2.41.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoopClient = &Client{}
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

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

func (*Client) UploadCmd

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