Documentation
¶
Index ¶
Constants ¶
View Source
const ClosingValue = "<<CLOSING>>"
ClosingValue - Sent over a subscribe channel when its closing
View Source
const TopicCommunityConfig = "policyserv_community_config_changed"
View Source
const TopicHellban = "policyserv_hellban_by_community"
View Source
const TopicRoomCommunityId = "policyserv_room_community_id_changed"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresPubsub ¶
type PostgresPubsub struct {
// contains filtered or unexported fields
}
func NewPostgresPubsub ¶
func NewPostgresPubsub(db *storage.PostgresStorage, config *PostgresPubsubConnectionConfig) (*PostgresPubsub, error)
func (*PostgresPubsub) Close ¶
func (p *PostgresPubsub) Close() error
func (*PostgresPubsub) Unsubscribe ¶
func (p *PostgresPubsub) Unsubscribe(ctx context.Context, ch <-chan string) error
Click to show internal directories.
Click to hide internal directories.