mockstore

package
v0.0.0-...-8dc6894 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
}

MockStore implements store.Storer interface

func (*MockStore) GetUserById

func (m *MockStore) GetUserById(id string) (*store.User, error)

func (*MockStore) GetUserByRole

func (m *MockStore) GetUserByRole(role string) (*store.User, error)

func (*MockStore) ListUsers

func (m *MockStore) ListUsers() (*store.Users, error)

Jump to

Keyboard shortcuts

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