mockclient

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mockclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccessTokenSaver

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

MockAccessTokenSaver is a mock of AccessTokenSaver interface.

func NewMockAccessTokenSaver

func NewMockAccessTokenSaver(ctrl *gomock.Controller) *MockAccessTokenSaver

NewMockAccessTokenSaver creates a new mock instance.

func (*MockAccessTokenSaver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAccessTokenSaver) GetAccessToken

func (m *MockAccessTokenSaver) GetAccessToken(arg0 context.Context) (string, int64, error)

GetAccessToken mocks base method.

func (*MockAccessTokenSaver) SetAccessToken

func (m *MockAccessTokenSaver) SetAccessToken(arg0 context.Context, arg1 string, arg2 int64) error

SetAccessToken mocks base method.

type MockAccessTokenSaverMockRecorder

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

MockAccessTokenSaverMockRecorder is the mock recorder for MockAccessTokenSaver.

func (*MockAccessTokenSaverMockRecorder) GetAccessToken

func (mr *MockAccessTokenSaverMockRecorder) GetAccessToken(arg0 any) *gomock.Call

GetAccessToken indicates an expected call of GetAccessToken.

func (*MockAccessTokenSaverMockRecorder) SetAccessToken

func (mr *MockAccessTokenSaverMockRecorder) SetAccessToken(arg0, arg1, arg2 any) *gomock.Call

SetAccessToken indicates an expected call of SetAccessToken.

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) Directions

func (m *MockClient) Directions(arg0 context.Context, arg1 *am.DirectionsRequest) (*am.DirectionsResponse, error)

Directions mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) Eta

func (m *MockClient) Eta(arg0 context.Context, arg1 *am.EtaRequest) (*am.EtaResponse, error)

Eta mocks base method.

func (*MockClient) Geocode

func (m *MockClient) Geocode(arg0 context.Context, arg1 *am.GeocodeRequest) (*am.PlaceResults, error)

Geocode mocks base method.

func (*MockClient) GetAccessToken

func (m *MockClient) GetAccessToken(arg0 context.Context) (string, int64, error)

GetAccessToken mocks base method.

func (*MockClient) GetNewAccessToken

func (m *MockClient) GetNewAccessToken(arg0 context.Context) (*am.AccessTokenResponse, error)

GetNewAccessToken mocks base method.

func (*MockClient) ReverseGeocode

func (m *MockClient) ReverseGeocode(arg0 context.Context, arg1 *am.ReverseRequest) (*am.PlaceResults, error)

ReverseGeocode mocks base method.

func (*MockClient) Search

func (m *MockClient) Search(arg0 context.Context, arg1 *am.SearchRequest) (*am.SearchResponse, error)

Search mocks base method.

func (*MockClient) SearchAutoComplete

SearchAutoComplete mocks base method.

func (*MockClient) SetAccessToken

func (m *MockClient) SetAccessToken(arg0 context.Context, arg1 string, arg2 int64) error

SetAccessToken mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Directions

func (mr *MockClientMockRecorder) Directions(arg0, arg1 any) *gomock.Call

Directions indicates an expected call of Directions.

func (*MockClientMockRecorder) Eta

func (mr *MockClientMockRecorder) Eta(arg0, arg1 any) *gomock.Call

Eta indicates an expected call of Eta.

func (*MockClientMockRecorder) Geocode

func (mr *MockClientMockRecorder) Geocode(arg0, arg1 any) *gomock.Call

Geocode indicates an expected call of Geocode.

func (*MockClientMockRecorder) GetAccessToken

func (mr *MockClientMockRecorder) GetAccessToken(arg0 any) *gomock.Call

GetAccessToken indicates an expected call of GetAccessToken.

func (*MockClientMockRecorder) GetNewAccessToken

func (mr *MockClientMockRecorder) GetNewAccessToken(arg0 any) *gomock.Call

GetNewAccessToken indicates an expected call of GetNewAccessToken.

func (*MockClientMockRecorder) ReverseGeocode

func (mr *MockClientMockRecorder) ReverseGeocode(arg0, arg1 any) *gomock.Call

ReverseGeocode indicates an expected call of ReverseGeocode.

func (*MockClientMockRecorder) Search

func (mr *MockClientMockRecorder) Search(arg0, arg1 any) *gomock.Call

Search indicates an expected call of Search.

func (*MockClientMockRecorder) SearchAutoComplete

func (mr *MockClientMockRecorder) SearchAutoComplete(arg0, arg1 any) *gomock.Call

SearchAutoComplete indicates an expected call of SearchAutoComplete.

func (*MockClientMockRecorder) SetAccessToken

func (mr *MockClientMockRecorder) SetAccessToken(arg0, arg1, arg2 any) *gomock.Call

SetAccessToken indicates an expected call of SetAccessToken.

type Mockquery

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

Mockquery is a mock of query interface.

func NewMockquery

func NewMockquery(ctrl *gomock.Controller) *Mockquery

NewMockquery creates a new mock instance.

func (*Mockquery) EXPECT

func (m *Mockquery) EXPECT() *MockqueryMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mockquery) URLValues

func (m *Mockquery) URLValues() (url.Values, error)

URLValues mocks base method.

type MockqueryMockRecorder

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

MockqueryMockRecorder is the mock recorder for Mockquery.

func (*MockqueryMockRecorder) URLValues

func (mr *MockqueryMockRecorder) URLValues() *gomock.Call

URLValues indicates an expected call of URLValues.

Jump to

Keyboard shortcuts

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