client

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 1 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 interface {
	Request(cfg *request.Config, payload *request.Payload) (*request.Response, error)
}

func New added in v0.0.5

func New() Client

func NewMockClient

func NewMockClient() Client

type MockClient

type MockClient struct {
}

func (*MockClient) Request

func (c *MockClient) Request(cfg *request.Config, payload *request.Payload) (*request.Response, error)

Jump to

Keyboard shortcuts

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