nacosx

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_nacosx_config_proto protoreflect.FileDescriptor
View Source
var Provider = wire.NewSet(
	NewConfigClients,
	NewRegistryClients,
)

Functions

func NewConfigClient

func NewConfigClient(options *Options) (config_client.IConfigClient, error)

func NewConfigClients

func NewConfigClients(config *Config) *lazyloadx.Group[config_client.IConfigClient]

func NewNamingClient added in v0.0.2

func NewNamingClient(options *Options) (naming_client.INamingClient, error)

func NewNamingClients added in v0.0.2

func NewNamingClients(config *Config) *lazyloadx.Group[naming_client.INamingClient]

Types

type Config

type Config struct {
	Configs map[string]*Options `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Config) Descriptor deprecated added in v0.0.2

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetConfigs added in v0.0.2

func (x *Config) GetConfigs() map[string]*Options

func (*Config) ProtoMessage added in v0.0.2

func (*Config) ProtoMessage()

func (*Config) ProtoReflect added in v0.0.2

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset added in v0.0.2

func (x *Config) Reset()

func (*Config) String added in v0.0.2

func (x *Config) String() string

type Options added in v0.0.2

type Options struct {
	Address   *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Port      *wrapperspb.Int32Value  `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	Namespace *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Options) Descriptor deprecated added in v0.0.2

func (*Options) Descriptor() ([]byte, []int)

Deprecated: Use Options.ProtoReflect.Descriptor instead.

func (*Options) GetAddress added in v0.0.2

func (x *Options) GetAddress() *wrapperspb.StringValue

func (*Options) GetNamespace added in v0.0.2

func (x *Options) GetNamespace() *wrapperspb.StringValue

func (*Options) GetPort added in v0.0.2

func (x *Options) GetPort() *wrapperspb.Int32Value

func (*Options) ProtoMessage added in v0.0.2

func (*Options) ProtoMessage()

func (*Options) ProtoReflect added in v0.0.2

func (x *Options) ProtoReflect() protoreflect.Message

func (*Options) Reset added in v0.0.2

func (x *Options) Reset()

func (*Options) String added in v0.0.2

func (x *Options) String() string

Jump to

Keyboard shortcuts

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