pubsub

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleasePubSub

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

func NewReleasePubSub

func NewReleasePubSub() *ReleasePubSub

func (*ReleasePubSub) PublishFailed

func (ps *ReleasePubSub) PublishFailed(release string)

func (*ReleasePubSub) PublishSuccess

func (ps *ReleasePubSub) PublishSuccess(release string)

func (*ReleasePubSub) Subscribe

func (ps *ReleasePubSub) Subscribe(release string) <-chan ReleaseStatus

type ReleaseStatus

type ReleaseStatus int
const (
	ReleaseSuccess ReleaseStatus = iota
	ReleaseFailed
)

Jump to

Keyboard shortcuts

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