client

package
v0.0.0-...-acfb835 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientOption

type ClientOption func(*FernApiClient)

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

func WithHTTPClient

func WithHTTPClient(httpClient *http.Client) ClientOption

func WithTimeout

func WithTimeout(timeout time.Duration) ClientOption

type FernApiClient

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

func New

func New(testName string, options ...ClientOption) *FernApiClient

func (*FernApiClient) Report

func (f *FernApiClient) Report(testName string, report gt.Report) error

Jump to

Keyboard shortcuts

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