Documentation ¶
Index ¶
- Variables
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetAppName() string
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetEndpoints() []string
- func (x *Bootstrap) GetServer() *Server
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- type Cache
- type ConfigCenter
- func (*ConfigCenter) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigCenter) GetEtcd() *Etcd
- func (x *ConfigCenter) GetNacos() *Nacos
- func (*ConfigCenter) ProtoMessage()
- func (x *ConfigCenter) ProtoReflect() protoreflect.Message
- func (x *ConfigCenter) Reset()
- func (x *ConfigCenter) String() string
- type Data
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetDriver() string
- func (x *Database) GetShowDebug() bool
- func (x *Database) GetSource() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type Etcd
- type GRPC
- func (*GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *GRPC) GetAddr() string
- func (x *GRPC) GetNetwork() string
- func (x *GRPC) GetTimeout() *durationpb.Duration
- func (*GRPC) ProtoMessage()
- func (x *GRPC) ProtoReflect() protoreflect.Message
- func (x *GRPC) Reset()
- func (x *GRPC) String() string
- type HTTP
- func (*HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *HTTP) GetAddr() string
- func (x *HTTP) GetNetwork() string
- func (x *HTTP) GetTimeout() *durationpb.Duration
- func (*HTTP) ProtoMessage()
- func (x *HTTP) ProtoReflect() protoreflect.Message
- func (x *HTTP) Reset()
- func (x *HTTP) String() string
- type Nacos
- func (*Nacos) Descriptor() ([]byte, []int)deprecated
- func (x *Nacos) GetClient() *NacosClient
- func (x *Nacos) GetConfigSources() []*NacosConfigSources
- func (x *Nacos) GetDisableConfigClient() bool
- func (x *Nacos) GetServers() []*NacosServer
- func (x *Nacos) GetSources() []*NacosSource
- func (*Nacos) ProtoMessage()
- func (x *Nacos) ProtoReflect() protoreflect.Message
- func (x *Nacos) Reset()
- func (x *Nacos) String() string
- type NacosClient
- func (*NacosClient) Descriptor() ([]byte, []int)deprecated
- func (x *NacosClient) GetCacheDir() string
- func (x *NacosClient) GetLogDir() string
- func (x *NacosClient) GetLogLevel() string
- func (x *NacosClient) GetMaxBackups() int64
- func (x *NacosClient) GetNamespace() string
- func (x *NacosClient) GetNotLoadCacheAtStart() bool
- func (x *NacosClient) GetPassword() string
- func (x *NacosClient) GetRollingMaxAge() int64
- func (x *NacosClient) GetRollingMaxSize() int64
- func (x *NacosClient) GetTimeout() uint64
- func (x *NacosClient) GetUpdateThreadNum() uint64
- func (x *NacosClient) GetUsername() string
- func (*NacosClient) ProtoMessage()
- func (x *NacosClient) ProtoReflect() protoreflect.Message
- func (x *NacosClient) Reset()
- func (x *NacosClient) String() string
- type NacosConfigSources
- func (*NacosConfigSources) Descriptor() ([]byte, []int)deprecated
- func (x *NacosConfigSources) GetDataId() string
- func (x *NacosConfigSources) GetGroup() string
- func (*NacosConfigSources) ProtoMessage()
- func (x *NacosConfigSources) ProtoReflect() protoreflect.Message
- func (x *NacosConfigSources) Reset()
- func (x *NacosConfigSources) String() string
- type NacosServer
- func (*NacosServer) Descriptor() ([]byte, []int)deprecated
- func (x *NacosServer) GetAddress() string
- func (x *NacosServer) GetPort() uint64
- func (*NacosServer) ProtoMessage()
- func (x *NacosServer) ProtoReflect() protoreflect.Message
- func (x *NacosServer) Reset()
- func (x *NacosServer) String() string
- type NacosSource
- func (*NacosSource) Descriptor() ([]byte, []int)deprecated
- func (x *NacosSource) GetDataId() string
- func (x *NacosSource) GetGroup() string
- func (*NacosSource) ProtoMessage()
- func (x *NacosSource) ProtoReflect() protoreflect.Message
- func (x *NacosSource) Reset()
- func (x *NacosSource) String() string
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Redis) GetAddr() string
- func (x *Redis) GetAuth() string
- func (x *Redis) GetNetwork() string
- func (x *Redis) GetReadTimeout() *durationpb.Duration
- func (x *Redis) GetWriteTimeout() *durationpb.Duration
- func (*Redis) ProtoMessage()
- func (x *Redis) ProtoReflect() protoreflect.Message
- func (x *Redis) Reset()
- func (x *Redis) String() string
- type Registry
- func (*Registry) Descriptor() ([]byte, []int)deprecated
- func (x *Registry) GetAppName() string
- func (x *Registry) GetEtcd() *Etcd
- func (x *Registry) GetNacos() *Nacos
- func (*Registry) ProtoMessage()
- func (x *Registry) ProtoReflect() protoreflect.Message
- func (x *Registry) Reset()
- func (x *Registry) String() string
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` AppName string `protobuf:"bytes,3,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` Endpoints []string `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetAppName ¶
func (*Bootstrap) GetEndpoints ¶
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Cache ¶
type Cache struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Cache) Descriptor
deprecated
func (*Cache) GetProperties ¶
func (*Cache) ProtoMessage ¶
func (*Cache) ProtoMessage()
func (*Cache) ProtoReflect ¶
func (x *Cache) ProtoReflect() protoreflect.Message
type ConfigCenter ¶
type ConfigCenter struct { Nacos *Nacos `protobuf:"bytes,1,opt,name=nacos,proto3" json:"nacos,omitempty"` Etcd *Etcd `protobuf:"bytes,2,opt,name=etcd,proto3" json:"etcd,omitempty"` // contains filtered or unexported fields }
func (*ConfigCenter) Descriptor
deprecated
func (*ConfigCenter) Descriptor() ([]byte, []int)
Deprecated: Use ConfigCenter.ProtoReflect.Descriptor instead.
func (*ConfigCenter) GetEtcd ¶
func (x *ConfigCenter) GetEtcd() *Etcd
func (*ConfigCenter) GetNacos ¶
func (x *ConfigCenter) GetNacos() *Nacos
func (*ConfigCenter) ProtoMessage ¶
func (*ConfigCenter) ProtoMessage()
func (*ConfigCenter) ProtoReflect ¶
func (x *ConfigCenter) ProtoReflect() protoreflect.Message
func (*ConfigCenter) Reset ¶
func (x *ConfigCenter) Reset()
func (*ConfigCenter) String ¶
func (x *ConfigCenter) String() string
type Data ¶
type Data struct { Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Redis *Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"` Cache *Cache `protobuf:"bytes,3,opt,name=cache,proto3" json:"cache,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Database ¶
type Database struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` ShowDebug bool `protobuf:"varint,3,opt,name=show_debug,json=showDebug,proto3" json:"show_debug,omitempty"` // contains filtered or unexported fields }
func (*Database) Descriptor
deprecated
func (*Database) GetShowDebug ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type Etcd ¶
type Etcd struct { Endpoint []string `protobuf:"bytes,1,rep,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*Etcd) Descriptor
deprecated
func (*Etcd) GetEndpoint ¶
func (*Etcd) ProtoMessage ¶
func (*Etcd) ProtoMessage()
func (*Etcd) ProtoReflect ¶
func (x *Etcd) ProtoReflect() protoreflect.Message
type GRPC ¶
type GRPC struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*GRPC) Descriptor
deprecated
func (*GRPC) GetNetwork ¶
func (*GRPC) GetTimeout ¶
func (x *GRPC) GetTimeout() *durationpb.Duration
func (*GRPC) ProtoMessage ¶
func (*GRPC) ProtoMessage()
func (*GRPC) ProtoReflect ¶
func (x *GRPC) ProtoReflect() protoreflect.Message
type HTTP ¶
type HTTP struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*HTTP) Descriptor
deprecated
func (*HTTP) GetNetwork ¶
func (*HTTP) GetTimeout ¶
func (x *HTTP) GetTimeout() *durationpb.Duration
func (*HTTP) ProtoMessage ¶
func (*HTTP) ProtoMessage()
func (*HTTP) ProtoReflect ¶
func (x *HTTP) ProtoReflect() protoreflect.Message
type Nacos ¶
type Nacos struct { Servers []*NacosServer `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` Sources []*NacosSource `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"` Client *NacosClient `protobuf:"bytes,3,opt,name=Client,proto3" json:"Client,omitempty"` DisableConfigClient bool `protobuf:"varint,4,opt,name=disable_config_client,json=disableConfigClient,proto3" json:"disable_config_client,omitempty"` ConfigSources []*NacosConfigSources `protobuf:"bytes,5,rep,name=config_sources,json=configSources,proto3" json:"config_sources,omitempty"` // contains filtered or unexported fields }
func (*Nacos) Descriptor
deprecated
func (*Nacos) GetClient ¶
func (x *Nacos) GetClient() *NacosClient
func (*Nacos) GetConfigSources ¶
func (x *Nacos) GetConfigSources() []*NacosConfigSources
func (*Nacos) GetDisableConfigClient ¶
func (*Nacos) GetServers ¶
func (x *Nacos) GetServers() []*NacosServer
func (*Nacos) GetSources ¶
func (x *Nacos) GetSources() []*NacosSource
func (*Nacos) ProtoMessage ¶
func (*Nacos) ProtoMessage()
func (*Nacos) ProtoReflect ¶
func (x *Nacos) ProtoReflect() protoreflect.Message
type NacosClient ¶
type NacosClient struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` CacheDir string `protobuf:"bytes,3,opt,name=cache_dir,json=cacheDir,proto3" json:"cache_dir,omitempty"` LogDir string `protobuf:"bytes,4,opt,name=log_dir,json=logDir,proto3" json:"log_dir,omitempty"` LogLevel string `protobuf:"bytes,5,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` Timeout uint64 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"` Namespace string `protobuf:"bytes,7,opt,name=namespace,proto3" json:"namespace,omitempty"` MaxBackups int64 `protobuf:"varint,8,opt,name=max_backups,json=maxBackups,proto3" json:"max_backups,omitempty"` RollingMaxAge int64 `protobuf:"varint,9,opt,name=rolling_max_age,json=rollingMaxAge,proto3" json:"rolling_max_age,omitempty"` RollingMaxSize int64 `protobuf:"varint,10,opt,name=rolling_max_size,json=rollingMaxSize,proto3" json:"rolling_max_size,omitempty"` UpdateThreadNum uint64 `protobuf:"varint,11,opt,name=update_thread_num,json=updateThreadNum,proto3" json:"update_thread_num,omitempty"` NotLoadCacheAtStart bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NacosClient) Descriptor
deprecated
func (*NacosClient) Descriptor() ([]byte, []int)
Deprecated: Use NacosClient.ProtoReflect.Descriptor instead.
func (*NacosClient) GetCacheDir ¶
func (x *NacosClient) GetCacheDir() string
func (*NacosClient) GetLogDir ¶
func (x *NacosClient) GetLogDir() string
func (*NacosClient) GetLogLevel ¶
func (x *NacosClient) GetLogLevel() string
func (*NacosClient) GetMaxBackups ¶
func (x *NacosClient) GetMaxBackups() int64
func (*NacosClient) GetNamespace ¶
func (x *NacosClient) GetNamespace() string
func (*NacosClient) GetNotLoadCacheAtStart ¶
func (x *NacosClient) GetNotLoadCacheAtStart() bool
func (*NacosClient) GetPassword ¶
func (x *NacosClient) GetPassword() string
func (*NacosClient) GetRollingMaxAge ¶
func (x *NacosClient) GetRollingMaxAge() int64
func (*NacosClient) GetRollingMaxSize ¶
func (x *NacosClient) GetRollingMaxSize() int64
func (*NacosClient) GetTimeout ¶
func (x *NacosClient) GetTimeout() uint64
func (*NacosClient) GetUpdateThreadNum ¶
func (x *NacosClient) GetUpdateThreadNum() uint64
func (*NacosClient) GetUsername ¶
func (x *NacosClient) GetUsername() string
func (*NacosClient) ProtoMessage ¶
func (*NacosClient) ProtoMessage()
func (*NacosClient) ProtoReflect ¶
func (x *NacosClient) ProtoReflect() protoreflect.Message
func (*NacosClient) Reset ¶
func (x *NacosClient) Reset()
func (*NacosClient) String ¶
func (x *NacosClient) String() string
type NacosConfigSources ¶
type NacosConfigSources struct { DataId string `protobuf:"bytes,1,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*NacosConfigSources) Descriptor
deprecated
func (*NacosConfigSources) Descriptor() ([]byte, []int)
Deprecated: Use NacosConfigSources.ProtoReflect.Descriptor instead.
func (*NacosConfigSources) GetDataId ¶
func (x *NacosConfigSources) GetDataId() string
func (*NacosConfigSources) GetGroup ¶
func (x *NacosConfigSources) GetGroup() string
func (*NacosConfigSources) ProtoMessage ¶
func (*NacosConfigSources) ProtoMessage()
func (*NacosConfigSources) ProtoReflect ¶
func (x *NacosConfigSources) ProtoReflect() protoreflect.Message
func (*NacosConfigSources) Reset ¶
func (x *NacosConfigSources) Reset()
func (*NacosConfigSources) String ¶
func (x *NacosConfigSources) String() string
type NacosServer ¶
type NacosServer struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port uint64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*NacosServer) Descriptor
deprecated
func (*NacosServer) Descriptor() ([]byte, []int)
Deprecated: Use NacosServer.ProtoReflect.Descriptor instead.
func (*NacosServer) GetAddress ¶
func (x *NacosServer) GetAddress() string
func (*NacosServer) GetPort ¶
func (x *NacosServer) GetPort() uint64
func (*NacosServer) ProtoMessage ¶
func (*NacosServer) ProtoMessage()
func (*NacosServer) ProtoReflect ¶
func (x *NacosServer) ProtoReflect() protoreflect.Message
func (*NacosServer) Reset ¶
func (x *NacosServer) Reset()
func (*NacosServer) String ¶
func (x *NacosServer) String() string
type NacosSource ¶
type NacosSource struct { DataId string `protobuf:"bytes,1,opt,name=data_id,json=dataId,proto3" json:"data_id,omitempty"` Group string `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*NacosSource) Descriptor
deprecated
func (*NacosSource) Descriptor() ([]byte, []int)
Deprecated: Use NacosSource.ProtoReflect.Descriptor instead.
func (*NacosSource) GetDataId ¶
func (x *NacosSource) GetDataId() string
func (*NacosSource) GetGroup ¶
func (x *NacosSource) GetGroup() string
func (*NacosSource) ProtoMessage ¶
func (*NacosSource) ProtoMessage()
func (*NacosSource) ProtoReflect ¶
func (x *NacosSource) ProtoReflect() protoreflect.Message
func (*NacosSource) Reset ¶
func (x *NacosSource) Reset()
func (*NacosSource) String ¶
func (x *NacosSource) String() string
type Redis ¶
type Redis struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Auth string `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` // contains filtered or unexported fields }
func (*Redis) Descriptor
deprecated
func (*Redis) GetNetwork ¶
func (*Redis) GetReadTimeout ¶
func (x *Redis) GetReadTimeout() *durationpb.Duration
func (*Redis) GetWriteTimeout ¶
func (x *Redis) GetWriteTimeout() *durationpb.Duration
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) ProtoReflect ¶
func (x *Redis) ProtoReflect() protoreflect.Message
type Registry ¶
type Registry struct { AppName string `protobuf:"bytes,1,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"` Nacos *Nacos `protobuf:"bytes,2,opt,name=nacos,proto3" json:"nacos,omitempty"` Etcd *Etcd `protobuf:"bytes,3,opt,name=etcd,proto3" json:"etcd,omitempty"` // contains filtered or unexported fields }
func (*Registry) Descriptor
deprecated
func (*Registry) GetAppName ¶
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) ProtoReflect ¶
func (x *Registry) ProtoReflect() protoreflect.Message
type Server ¶
type Server struct { Http *HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` Grpc *GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.