repo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemoryClientRepo

type InMemoryClientRepo struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

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

func (*InMemoryClientRepo) GetClient

func (r *InMemoryClientRepo) GetClient(clientID string) types.Client

Jump to

Keyboard shortcuts

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