subscribeuril

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSubscribeTopic

func GenerateSubscribeTopic(subscribeID uint, entityID string, opts ...Option) string

func GetEntityID

func GetEntityID(topic string, opts ...Option) string

func GetSubscribeID

func GetSubscribeID(topic string, opts ...Option) uint

func ParseTopic

func ParseTopic(topic string, opts ...Option) (subscribeID uint, entityID string)

Types

type Option

type Option func() string

func WithSeparator

func WithSeparator(separator string) Option

Jump to

Keyboard shortcuts

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