mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReacjiStore

type ReacjiStore struct {
	mock.Mock
}

ReacjiStore is an autogenerated mock type for the ReacjiStore type

func (*ReacjiStore) ForceUpdate

func (_m *ReacjiStore) ForceUpdate(new *reacji.List) error

ForceUpdate provides a mock function with given fields: new

func (*ReacjiStore) Get

func (_m *ReacjiStore) Get() (*reacji.List, error)

Get provides a mock function with given fields:

func (*ReacjiStore) Update

func (_m *ReacjiStore) Update(prev *reacji.List, new *reacji.List) error

Update provides a mock function with given fields: prev, new

type SharedStore

type SharedStore struct {
	mock.Mock
}

SharedStore is an autogenerated mock type for the SharedStore type

func (*SharedStore) DeleteAll

func (_m *SharedStore) DeleteAll() (int, error)

DeleteAll provides a mock function with given fields:

func (*SharedStore) Get

func (_m *SharedStore) Get(postID string, toChannelID string, deleteKey string) (*reacji.SharedPost, error)

Get provides a mock function with given fields: postID, toChannelID, deleteKey

func (*SharedStore) Set

func (_m *SharedStore) Set(new *reacji.SharedPost, days int) error

Set provides a mock function with given fields: new, days

type Store

type Store struct {
	mock.Mock
}

Store is an autogenerated mock type for the Store type

func (*Store) Reacji

func (_m *Store) Reacji() store.ReacjiStore

Reacji provides a mock function with given fields:

func (*Store) Shared

func (_m *Store) Shared() store.SharedStore

Shared provides a mock function with given fields:

Jump to

Keyboard shortcuts

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