psql

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

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 (p *CommunitiesPersister) AddClientsToCommunity(
	ctx context.Context,
	community string,
	password string,
	upsert bool,
) error

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

Jump to

Keyboard shortcuts

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