Documentation
¶
Index ¶
- type InMemoryClientRepo
- func (r *InMemoryClientRepo) AddClient(client types.Client) error
- func (r *InMemoryClientRepo) ClientExists(client types.Client) (error, bool)
- func (r *InMemoryClientRepo) DeleteClient(client types.Client) error
- func (r *InMemoryClientRepo) GetAllClients() []types.Client
- func (r *InMemoryClientRepo) GetClient(clientID string) types.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryClientRepo ¶
func NewInMemoryClientRepo ¶
func NewInMemoryClientRepo() *InMemoryClientRepo
func (*InMemoryClientRepo) AddClient ¶
func (r *InMemoryClientRepo) AddClient(client types.Client) error
func (*InMemoryClientRepo) ClientExists ¶
func (r *InMemoryClientRepo) ClientExists(client types.Client) (error, bool)
func (*InMemoryClientRepo) DeleteClient ¶
func (r *InMemoryClientRepo) DeleteClient(client types.Client) error
func (*InMemoryClientRepo) GetAllClients ¶
func (r *InMemoryClientRepo) GetAllClients() []types.Client
Click to show internal directories.
Click to hide internal directories.