Documentation ¶
Index ¶
- type Message
- type Pubsub
- func (p *Pubsub) Close() error
- func (p *Pubsub) Host() string
- func (p *Pubsub) Messages(ctx context.Context, subscription string) chan Message
- func (p *Pubsub) Project() string
- func (p *Pubsub) Publish(subscription string, content string) error
- func (p *Pubsub) Subscriptions() ([]Subscription, error)
- func (p *Pubsub) UpdateProject(project string) error
- type Subscription
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
}
func (*Pubsub) Subscriptions ¶
func (p *Pubsub) Subscriptions() ([]Subscription, error)
func (*Pubsub) UpdateProject ¶
type Subscription ¶
Click to show internal directories.
Click to hide internal directories.