Documentation
¶
Overview ¶
Package mockclient is a generated GoMock package.
Index ¶
- type MockAccessTokenSaver
- type MockAccessTokenSaverMockRecorder
- type MockClient
- func (m *MockClient) Directions(arg0 context.Context, arg1 *am.DirectionsRequest) (*am.DirectionsResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Eta(arg0 context.Context, arg1 *am.EtaRequest) (*am.EtaResponse, error)
- func (m *MockClient) Geocode(arg0 context.Context, arg1 *am.GeocodeRequest) (*am.PlaceResults, error)
- func (m *MockClient) GetAccessToken(arg0 context.Context) (string, int64, error)
- func (m *MockClient) GetNewAccessToken(arg0 context.Context) (*am.AccessTokenResponse, error)
- func (m *MockClient) ReverseGeocode(arg0 context.Context, arg1 *am.ReverseRequest) (*am.PlaceResults, error)
- func (m *MockClient) Search(arg0 context.Context, arg1 *am.SearchRequest) (*am.SearchResponse, error)
- func (m *MockClient) SearchAutoComplete(arg0 context.Context, arg1 *am.SearchAutoCompleteRequest) (*am.SearchAutocompleteResponse, error)
- func (m *MockClient) SetAccessToken(arg0 context.Context, arg1 string, arg2 int64) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Directions(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) Eta(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) Geocode(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetAccessToken(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetNewAccessToken(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) ReverseGeocode(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) Search(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) SearchAutoComplete(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) SetAccessToken(arg0, arg1, arg2 any) *gomock.Call
- type Mockquery
- type MockqueryMockRecorder
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 ¶
func (m *MockAccessTokenSaver) EXPECT() *MockAccessTokenSaverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAccessTokenSaver) GetAccessToken ¶
GetAccessToken mocks base method.
func (*MockAccessTokenSaver) SetAccessToken ¶
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 ¶
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 ¶
func (m *MockClient) SearchAutoComplete(arg0 context.Context, arg1 *am.SearchAutoCompleteRequest) (*am.SearchAutocompleteResponse, error)
SearchAutoComplete mocks base method.
func (*MockClient) SetAccessToken ¶
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.
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.