topicresolver

package
v1.0.0-beta.191 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespacedTopicResolver

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

func NewNamespacedTopicResolver

func NewNamespacedTopicResolver(template string) (*NamespacedTopicResolver, error)

func (NamespacedTopicResolver) Resolve

func (r NamespacedTopicResolver) Resolve(_ context.Context, namespace string) (string, error)

type Resolver

type Resolver interface {
	Resolve(ctx context.Context, namespace string) (string, error)
}

Resolver use provided namespace to return a topic name belongs to that namespace.

Jump to

Keyboard shortcuts

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