Documentation ¶
Index ¶
- type CommunitiesPersister
- func (p *CommunitiesPersister) AddClientsToCommunity(ctx context.Context, community string, password string, upsert bool) error
- func (p *CommunitiesPersister) Cleanup(ctx context.Context) error
- func (p *CommunitiesPersister) CreatePersistentCommunity(ctx context.Context, community string, password string) (*persisters.Community, error)
- func (p *CommunitiesPersister) DeleteCommunity(ctx context.Context, community string) error
- func (p *CommunitiesPersister) GetCommunities(ctx context.Context) ([]persisters.Community, error)
- func (p *CommunitiesPersister) Open(dbURL string) error
- func (p *CommunitiesPersister) RemoveClientFromCommunity(ctx context.Context, community string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommunitiesPersister ¶
type CommunitiesPersister struct {
// contains filtered or unexported fields
}
func NewCommunitiesPersister ¶
func NewCommunitiesPersister() *CommunitiesPersister
func (*CommunitiesPersister) AddClientsToCommunity ¶
func (*CommunitiesPersister) Cleanup ¶
func (p *CommunitiesPersister) Cleanup( ctx context.Context, ) error
func (*CommunitiesPersister) CreatePersistentCommunity ¶
func (p *CommunitiesPersister) CreatePersistentCommunity( ctx context.Context, community string, password string, ) (*persisters.Community, error)
func (*CommunitiesPersister) DeleteCommunity ¶
func (p *CommunitiesPersister) DeleteCommunity( ctx context.Context, community string, ) error
func (*CommunitiesPersister) GetCommunities ¶
func (p *CommunitiesPersister) GetCommunities( ctx context.Context, ) ([]persisters.Community, error)
func (*CommunitiesPersister) Open ¶
func (p *CommunitiesPersister) Open(dbURL string) error
func (*CommunitiesPersister) RemoveClientFromCommunity ¶
func (p *CommunitiesPersister) RemoveClientFromCommunity( ctx context.Context, community string, ) error
Click to show internal directories.
Click to hide internal directories.