factory

package
v1.6.9 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFactory

type ClientFactory interface {
	NewClient() (client.Client, error)
}

type UKFastClientFactory

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

func NewUKFastClientFactory

func NewUKFastClientFactory(opts ...UKFastClientFactoryOption) *UKFastClientFactory

func (*UKFastClientFactory) NewClient

func (f *UKFastClientFactory) NewClient() (client.Client, error)

type UKFastClientFactoryOption

type UKFastClientFactoryOption func(f *UKFastClientFactory)

func WithUserAgent

func WithUserAgent(userAgent string) UKFastClientFactoryOption

Jump to

Keyboard shortcuts

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