mock_cafeapi

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync-coordinator/cafeapi (interfaces: CafeApi)

Generated by this command:

mockgen -destination mock_cafeapi/mock_cafeapi.go github.com/anyproto/any-sync-coordinator/cafeapi CafeApi

Package mock_cafeapi is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCafeApi

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

MockCafeApi is a mock of CafeApi interface.

func NewMockCafeApi

func NewMockCafeApi(ctrl *gomock.Controller) *MockCafeApi

NewMockCafeApi creates a new mock instance.

func (*MockCafeApi) CheckCafeUserStatus

func (m *MockCafeApi) CheckCafeUserStatus(arg0 context.Context, arg1 string) (cafeapi.UserType, error)

CheckCafeUserStatus mocks base method.

func (*MockCafeApi) EXPECT

func (m *MockCafeApi) EXPECT() *MockCafeApiMockRecorder

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

func (*MockCafeApi) Init

func (m *MockCafeApi) Init(arg0 *app.App) error

Init mocks base method.

func (*MockCafeApi) Name

func (m *MockCafeApi) Name() string

Name mocks base method.

type MockCafeApiMockRecorder

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

MockCafeApiMockRecorder is the mock recorder for MockCafeApi.

func (*MockCafeApiMockRecorder) CheckCafeUserStatus

func (mr *MockCafeApiMockRecorder) CheckCafeUserStatus(arg0, arg1 any) *gomock.Call

CheckCafeUserStatus indicates an expected call of CheckCafeUserStatus.

func (*MockCafeApiMockRecorder) Init

func (mr *MockCafeApiMockRecorder) Init(arg0 any) *gomock.Call

Init indicates an expected call of Init.

func (*MockCafeApiMockRecorder) Name

func (mr *MockCafeApiMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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