Documentation
¶
Index ¶
- Constants
- func MustGet[T any](typ enum.PluginType) T
- func MustGetBroker(gapOpts *gap.Options) broker.Broker
- func MustGetStorage(gapOpts *gap.Options) storage.Storage
- func Pair(key string, value string) pair
- func Register[T any](typ enum.PluginType, value T)
- type Event
- type EventPub
- type EventPublisher
- type Headers
- type Pub
- type Publisher
- type Pump
- type Sub
Constants ¶
View Source
const ( KeysMessageID = "gap-msg-id" KeysMessageType = "gap-msg-type" KeysGroup = "gap-group" KeysCorrelationID = "gap-corr-id" )
Variables ¶
This section is empty.
Functions ¶
func MustGet ¶
func MustGet[T any](typ enum.PluginType) T
func Register ¶
func Register[T any](typ enum.PluginType, value T)
Types ¶
type EventPublisher ¶
type Pub ¶
type Pub[T any] struct { // contains filtered or unexported fields }
type Pump ¶
type Pump struct {
// contains filtered or unexported fields
}
func (*Pump) PollingHandle ¶
func (*Pump) PollingSend ¶
func (p *Pump) PollingSend()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.