user

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package user is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockService

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

MockBlockService is a mock of BlockService interface.

func NewMockBlockService

func NewMockBlockService(ctrl *gomock.Controller) *MockBlockService

NewMockBlockService creates a new mock instance.

func (*MockBlockService) Block

func (m *MockBlockService) Block(ctx context.Context, numbers []string) (*user.BlockResponse, error)

Block mocks base method.

func (*MockBlockService) EXPECT

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

func (*MockBlockService) ListBlocked

ListBlocked mocks base method.

func (*MockBlockService) Unblock

func (m *MockBlockService) Unblock(ctx context.Context, numbers []string) (*user.BlockResponse, error)

Unblock mocks base method.

type MockBlockServiceMockRecorder

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

MockBlockServiceMockRecorder is the mock recorder for MockBlockService.

func (*MockBlockServiceMockRecorder) Block

func (mr *MockBlockServiceMockRecorder) Block(ctx, numbers any) *gomock.Call

Block indicates an expected call of Block.

func (*MockBlockServiceMockRecorder) ListBlocked

func (mr *MockBlockServiceMockRecorder) ListBlocked(ctx, request any) *gomock.Call

ListBlocked indicates an expected call of ListBlocked.

func (*MockBlockServiceMockRecorder) Unblock

func (mr *MockBlockServiceMockRecorder) Unblock(ctx, numbers any) *gomock.Call

Unblock indicates an expected call of Unblock.

Jump to

Keyboard shortcuts

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