topicutil

package
v0.0.0-...-d5b0b98 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TopicPrefix           = "evhub_"
	DelayTopicPrefix      = "eh_delay_"
	DelaySubNameKeyPrefix = "delay_%v_%v"

	TopicKeyPrefix   = "evhub_%v_%v"
	SubNameKeyPrefix = "group_%v"
)

Variables

This section is empty.

Functions

func DelaySubName

func DelaySubName(appID, topicID string) string

DelaySubName returns the delay sub topic key associated with the given appID, topicID

func DelayTopic

func DelayTopic(appID, topicID string) string

DelayTopic returns the delay topic key associated with the given appID, topicID

func SubName

func SubName(dispatcherID string) string

SubName returns the sub topic key associated with the given dispatcherID

func Topic

func Topic(appID, topicID string) string

Topic returns the topic key associated with the given appID, topicID

Types

This section is empty.

Jump to

Keyboard shortcuts

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