Documentation ¶
Overview ¶
Package metadata collects and exposes information of all services for service discovery purpose.
Index ¶
- func ExportMetadataService()
- type Option
- func WithAddress(address string) Option
- func WithEtcdV3() Option
- func WithGroup(group string) Option
- func WithMetadata(meta string) Option
- func WithNacos() Option
- func WithNamespace(namespace string) Option
- func WithParams(params map[string]string) Option
- func WithPassword(password string) Option
- func WithTimeout(timeout time.Duration) Option
- func WithUsername(username string) Option
- func WithZookeeper() Option
- type Options
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 WithEtcdV3 ¶
func WithEtcdV3() Option
func WithMetadata ¶
func WithNamespace ¶
func WithParams ¶
func WithPassword ¶
func WithTimeout ¶
func WithUsername ¶
func WithZookeeper ¶
func WithZookeeper() Option
Click to show internal directories.
Click to hide internal directories.