Versions in this module Expand all Collapse all v0 v0.0.5 Mar 19, 2024 Changes in this version + func RegisterService(opts *Options) error + type Option func(*Options) + func WithCluster(cluster string) Option + func WithGroup(group string) Option + func WithMetadata(metadata map[string]string) Option + func WithPrefix(prefix string) Option + func WithWeight(weight float64) Option + type Options struct + ClientConfig *constant.ClientConfig + Cluster string + Group string + ListenOn string + Metadata map[string]string + Prefix string + ServerConfig []constant.ServerConfig + ServiceName string + Weight float64 + func NewNacosConfig(serviceName, listenOn string, sc []constant.ServerConfig, ...) *Options