Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
RegisterService register service to nacos
Types ¶
type Option ¶
type Option func(*Options)
func WithCluster ¶
func WithMetadata ¶
func WithPrefix ¶
func WithWeight ¶
type Options ¶
type Options struct { ListenOn string ServiceName string Prefix string Weight float64 Cluster string Group string Metadata map[string]string ServerConfig []constant.ServerConfig ClientConfig *constant.ClientConfig }
options
func NewNacosConfig ¶
func NewNacosConfig(serviceName, listenOn string, sc []constant.ServerConfig, cc *constant.ClientConfig, opts ...Option) *Options
Click to show internal directories.
Click to hide internal directories.