metadata

package
v3.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package metadata collects and exposes information of all services for service discovery purpose.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportMetadataService

func ExportMetadataService()

Types

type Option

type Option func(*Options)

func WithAddress

func WithAddress(address string) Option

func WithEtcdV3

func WithEtcdV3() Option

func WithGroup

func WithGroup(group string) Option

func WithMetadata

func WithMetadata(meta string) Option

func WithNacos

func WithNacos() Option

func WithNamespace

func WithNamespace(namespace string) Option

func WithParams

func WithParams(params map[string]string) Option

func WithPassword

func WithPassword(password string) Option

func WithTimeout

func WithTimeout(timeout time.Duration) Option

func WithUsername

func WithUsername(username string) Option

func WithZookeeper

func WithZookeeper() Option

type Options

type Options struct {
	Metadata *global.MetadataReportConfig
}

func NewOptions

func NewOptions(opts ...Option) *Options

Jump to

Keyboard shortcuts

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