none

package
v0.3.7-alpha4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMethodNotSupportedForNoneQueue = errors.New("method not supported when queue is none")
View Source
var ErrPanic = errors.New("panic")
View Source
var ErrRoundTookTooLongToScore = errors.New("round took too long to score. this might be due to many reasons like a worker going down, or the number of rounds being too big for one master")
View Source
var ErrUnknownPanic = errors.New("unknown panic")

Functions

This section is empty.

Types

type None

type None struct{}

func NewNoneQueue

func NewNoneQueue() (*None, error)

func (None) Acknowledge

func (n None) Acknowledge(q queueing.QCheck)

func (None) Ping

func (n None) Ping(group *servicegroup.ServiceGroup) error

func (None) Receive

func (n None) Receive()

func (None) Send

func (n None) Send(sds []*queueing.ScoringData) ([]*queueing.QCheck, error, error)

type PubSub

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

func NewNonePubSub

func NewNonePubSub(config queueing.Config) (*PubSub, error)

func (PubSub) NotifyTopic

func (p PubSub) NotifyTopic(topic string)

func (PubSub) ReceiveUpdateFromTopic

func (p PubSub) ReceiveUpdateFromTopic(topic string) <-chan struct{}

Jump to

Keyboard shortcuts

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