features

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: AGPL-3.0 Imports: 12 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 NewClient

func NewClient(baseURL string, identity identity.Identifier, fns ...OptFn) *Client

func (*Client) Send

func (c *Client) Send(ctx context.Context, component string, features []string) error

type OptFn

type OptFn func(c *Client)

func WithHTTPClient

func WithHTTPClient(httpClient *http.Client) OptFn

func WithMaxRetries

func WithMaxRetries(retries int) OptFn

func WithTimeout

func WithTimeout(timeout time.Duration) OptFn

type PerComponent

type PerComponent = map[string][]string

Jump to

Keyboard shortcuts

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