client

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 7 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
}

func New

func New(opts ...Option) *Client

func (*Client) Report

func (c *Client) Report(name string, m message.Message) error

func (*Client) ReportMany

func (c *Client) ReportMany(m map[string]message.Message) error

func (*Client) ReportWithExtra

func (c *Client) ReportWithExtra(m map[string]message.Message, extra string) error

func (*Client) ReportWithOpt

func (c *Client) ReportWithOpt(m map[string]message.Message, extra string, opts ...Option) error

type Option

type Option func(*ReportOption)

type ReportOption

type ReportOption struct {
	Host          string
	Authorization string
	Header        message.Header
}

Jump to

Keyboard shortcuts

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