pubsub

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pubsub

type Pubsub struct {
	// contains filtered or unexported fields
}

Pubsub contains functions for pubsub.

func New

func New(ps pubsub.PubSub, topic string) *Pubsub

New to create new pubsub.

func (*Pubsub) PublishParseAgency

func (p *Pubsub) PublishParseAgency(ctx context.Context, id int64, forced bool) error

PublishParseAgency to publish parse agency.

func (*Pubsub) PublishParseVtuber

func (p *Pubsub) PublishParseVtuber(ctx context.Context, id int64, forced bool) error

PublishParseVtuber to publish parse vtuber.

Jump to

Keyboard shortcuts

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