Documentation
¶
Index ¶
- func NewGroupCache() things.GroupCache
- func NewGroupRepository(roles things.RolesRepository) things.GroupRepository
- func NewProfileCache() things.ProfileCache
- func NewProfileRepository(repo things.ThingRepository) things.ProfileRepository
- func NewRolesRepository() things.RolesRepository
- func NewThingCache() things.ThingCache
- func NewThingRepository() things.ThingRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGroupCache ¶ added in v0.25.0
func NewGroupCache() things.GroupCache
NewGroupCache returns mock cache instance.
func NewGroupRepository ¶
func NewGroupRepository(roles things.RolesRepository) things.GroupRepository
NewGroupRepository creates in-memory user repository
func NewProfileCache ¶ added in v0.24.0
func NewProfileCache() things.ProfileCache
NewProfileCache returns mock cache instance.
func NewProfileRepository ¶ added in v0.24.0
func NewProfileRepository(repo things.ThingRepository) things.ProfileRepository
NewProfileRepository creates in-memory profile repository.
func NewRolesRepository ¶
func NewRolesRepository() things.RolesRepository
NewRolesRepository returns mock of roles repository
func NewThingCache ¶
func NewThingCache() things.ThingCache
NewThingCache returns mock cache instance.
func NewThingRepository ¶
func NewThingRepository() things.ThingRepository
NewThingRepository creates in-memory thing repository.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.