mock_member

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: models/member/lib.go

Generated by this command:

mockgen -source models/member/lib.go -destination tests/mocks/models/member/lib.go

Package mock_member is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorer added in v0.9.0

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

MockStorer is a mock of Storer interface.

func NewMockStorer added in v0.9.0

func NewMockStorer(ctrl *gomock.Controller) *MockStorer

NewMockStorer creates a new mock instance.

func (*MockStorer) Check added in v0.9.0

func (m *MockStorer) Check(ctx context.Context, email, nickname string) (bool, error)

Check mocks base method.

func (*MockStorer) CreateSession added in v0.9.0

func (m *MockStorer) CreateSession(ctx context.Context, member *member.Member) (string, error)

CreateSession mocks base method.

func (*MockStorer) Delete added in v0.9.0

func (m *MockStorer) Delete(ctx context.Context, member *member.Member) error

Delete mocks base method.

func (*MockStorer) EXPECT added in v0.9.0

func (m *MockStorer) EXPECT() *MockStorerMockRecorder

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

func (*MockStorer) GetID added in v0.9.0

func (m *MockStorer) GetID(ctx context.Context, key string) (uint32, error)

GetID mocks base method.

func (*MockStorer) GetPassHash added in v0.9.0

func (m *MockStorer) GetPassHash(email, login string) (string, error)

GetPassHash mocks base method.

func (*MockStorer) GetSessionTimeout added in v0.9.0

func (m *MockStorer) GetSessionTimeout(ctx context.Context, memberID int, deviceID v5.UUID) (int, error)

GetSessionTimeout mocks base method.

func (*MockStorer) LookupDevice added in v0.9.0

func (m *MockStorer) LookupDevice(ctx context.Context, deviceID v5.UUID) error

LookupDevice mocks base method.

func (*MockStorer) Read added in v0.9.0

func (m *MockStorer) Read(ctx context.Context, key string, keyNames ...string) (*member.Member, error)

Read mocks base method.

func (*MockStorer) RequestFollow added in v0.9.0

func (m *MockStorer) RequestFollow(ctx context.Context, fr *member.FollowBlockRequest) error

RequestFollow mocks base method.

func (*MockStorer) Save added in v0.9.0

func (m *MockStorer) Save(ctx context.Context, member *member.Member) error

Save mocks base method.

func (*MockStorer) Update added in v0.9.0

func (m *MockStorer) Update(ctx context.Context, member *member.Member) error

Update mocks base method.

type MockStorerMockRecorder added in v0.9.0

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

MockStorerMockRecorder is the mock recorder for MockStorer.

func (*MockStorerMockRecorder) Check added in v0.9.0

func (mr *MockStorerMockRecorder) Check(ctx, email, nickname any) *gomock.Call

Check indicates an expected call of Check.

func (*MockStorerMockRecorder) CreateSession added in v0.9.0

func (mr *MockStorerMockRecorder) CreateSession(ctx, member any) *gomock.Call

CreateSession indicates an expected call of CreateSession.

func (*MockStorerMockRecorder) Delete added in v0.9.0

func (mr *MockStorerMockRecorder) Delete(ctx, member any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStorerMockRecorder) GetID added in v0.9.0

func (mr *MockStorerMockRecorder) GetID(ctx, key any) *gomock.Call

GetID indicates an expected call of GetID.

func (*MockStorerMockRecorder) GetPassHash added in v0.9.0

func (mr *MockStorerMockRecorder) GetPassHash(email, login any) *gomock.Call

GetPassHash indicates an expected call of GetPassHash.

func (*MockStorerMockRecorder) GetSessionTimeout added in v0.9.0

func (mr *MockStorerMockRecorder) GetSessionTimeout(ctx, memberID, deviceID any) *gomock.Call

GetSessionTimeout indicates an expected call of GetSessionTimeout.

func (*MockStorerMockRecorder) LookupDevice added in v0.9.0

func (mr *MockStorerMockRecorder) LookupDevice(ctx, deviceID any) *gomock.Call

LookupDevice indicates an expected call of LookupDevice.

func (*MockStorerMockRecorder) Read added in v0.9.0

func (mr *MockStorerMockRecorder) Read(ctx, key any, keyNames ...any) *gomock.Call

Read indicates an expected call of Read.

func (*MockStorerMockRecorder) RequestFollow added in v0.9.0

func (mr *MockStorerMockRecorder) RequestFollow(ctx, fr any) *gomock.Call

RequestFollow indicates an expected call of RequestFollow.

func (*MockStorerMockRecorder) Save added in v0.9.0

func (mr *MockStorerMockRecorder) Save(ctx, member any) *gomock.Call

Save indicates an expected call of Save.

func (*MockStorerMockRecorder) Update added in v0.9.0

func (mr *MockStorerMockRecorder) Update(ctx, member any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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