simple

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpConnector

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

func NewHttpConnector

func NewHttpConnector(apiKey string, options ...Option) *HttpConnector

func (*HttpConnector) Close

func (f *HttpConnector) Close() error

func (*HttpConnector) Configurations

func (f *HttpConnector) Configurations(ctx context.Context, identifiers ...string) (evaluation.Configurations, error)

func (*HttpConnector) Stream

func (f *HttpConnector) Stream(ctx context.Context, updater connector.Updater) error

func (*HttpConnector) Variables

func (f *HttpConnector) Variables(ctx context.Context, identifiers ...string) ([]evaluation.Variable, error)

type Option

type Option func(c *simpleFlagsConfig)

func WithBaseURL

func WithBaseURL(baseURL string) Option

func WithEventsURL

func WithEventsURL(eventsURL string) Option

func WithRetryWaitMax

func WithRetryWaitMax(max time.Duration) Option

Jump to

Keyboard shortcuts

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