client

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 10 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(options ClientOptions) *Client

func (*Client) Forward added in v0.8.0

func (c *Client) Forward(req *http.Request, b io.Reader) error

func (*Client) Send

func (c *Client) Send(event *core.Event) error

func (*Client) Shared added in v0.8.0

func (c *Client) Shared() bool

type ClientOptions

type ClientOptions struct {
	Zone   string
	Shared bool
	URL    string
	Header http.Header
}

Jump to

Keyboard shortcuts

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