topic_repository

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	Topic       TopicRepository
	Description string
}

type TopicMeta

type TopicMeta struct {
	Description string
	// contains filtered or unexported fields
}

type TopicRepository

type TopicRepository string
const (
	TOPIC_CONTEXT     TopicRepository = "rep_ctx"
	TOPIC_REQUEST     TopicRepository = "rep_rqt"
	TOPIC_RESPONSE    TopicRepository = "rep_rsp"
	TOPIC_COLLECTION  TopicRepository = "rep_col"
	TOPIC_GROUP       TopicRepository = "rep_grp"
	TOPIC_END_POINT   TopicRepository = "rep_ept"
	TOPIC_METRICS     TopicRepository = "rep_epm"
	TOPIC_TOKEN       TopicRepository = "rep_tkn"
	TOPIC_SESSION     TopicRepository = "rep_ses"
	TOPIC_CLIENT_DATA TopicRepository = "rep_cld"
)

func Extend

func Extend(topic Extension) (TopicRepository, bool)

func ExtendMany

func ExtendMany(topics ...Extension) []TopicRepository

func FindTopics

func FindTopics(topics []string) []TopicRepository

func TopicFromString

func TopicFromString(s string) (TopicRepository, bool)

func (TopicRepository) ActionReload

func (t TopicRepository) ActionReload() topic.TopicAction

func (TopicRepository) Description

func (t TopicRepository) Description() string

func (TopicRepository) FindAcction

func (t TopicRepository) FindAcction(action string) (*topic.TopicAction, bool)

func (TopicRepository) Meta

func (t TopicRepository) Meta() TopicMeta

Jump to

Keyboard shortcuts

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