mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientApiMock

type ClientApiMock struct {
	mock.Mock
}

func NewClientApiMock

func NewClientApiMock() *ClientApiMock

func (*ClientApiMock) Post

func (m *ClientApiMock) Post(url string, body string, headers map[string]string) ([]byte, error)

func (*ClientApiMock) PostWithStreaming

func (m *ClientApiMock) PostWithStreaming(url string,
	body string,
	headers map[string]string,
	parser models.ProviderStreamParser) <-chan models.StreamResponse

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳