Documentation ¶
Index ¶
- Variables
- type Auth
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetAuth() *Auth
- func (x *Bootstrap) GetCasbin() *Casbin
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetServer() *Server
- func (x *Bootstrap) GetTrace() *Trace
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- type Casbin
- func (*Casbin) Descriptor() ([]byte, []int)deprecated
- func (x *Casbin) GetAutoLoad() bool
- func (x *Casbin) GetAutoLoadInternal() int32
- func (x *Casbin) GetDebug() bool
- func (x *Casbin) GetEnable() bool
- func (x *Casbin) GetModelPath() string
- func (*Casbin) ProtoMessage()
- func (x *Casbin) ProtoReflect() protoreflect.Message
- func (x *Casbin) Reset()
- func (x *Casbin) String() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetDatabase() *Data_Database
- func (x *Data) GetKafka() *Data_Kafka
- func (x *Data) GetMongodb() *Data_MongoDB
- func (x *Data) GetRedis() *Data_Redis
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetSource() string
- func (*Data_Database) ProtoMessage()
- func (x *Data_Database) ProtoReflect() protoreflect.Message
- func (x *Data_Database) Reset()
- func (x *Data_Database) String() string
- type Data_Kafka
- type Data_MongoDB
- func (*Data_MongoDB) Descriptor() ([]byte, []int)deprecated
- func (x *Data_MongoDB) GetDatabase() string
- func (x *Data_MongoDB) GetUri() string
- func (*Data_MongoDB) ProtoMessage()
- func (x *Data_MongoDB) ProtoReflect() protoreflect.Message
- func (x *Data_MongoDB) Reset()
- func (x *Data_MongoDB) String() string
- type Data_Redis
- func (*Data_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Redis) GetAddr() string
- func (x *Data_Redis) GetDb() int32
- func (x *Data_Redis) GetDialTimeout() *durationpb.Duration
- func (x *Data_Redis) GetNetwork() string
- func (x *Data_Redis) GetPassword() string
- func (x *Data_Redis) GetReadTimeout() *durationpb.Duration
- func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration
- func (*Data_Redis) ProtoMessage()
- func (x *Data_Redis) ProtoReflect() protoreflect.Message
- func (x *Data_Redis) Reset()
- func (x *Data_Redis) String() string
- type Registry
- type Registry_Consul
- func (*Registry_Consul) Descriptor() ([]byte, []int)deprecated
- func (x *Registry_Consul) GetAddress() string
- func (x *Registry_Consul) GetScheme() string
- func (*Registry_Consul) ProtoMessage()
- func (x *Registry_Consul) ProtoReflect() protoreflect.Message
- func (x *Registry_Consul) Reset()
- func (x *Registry_Consul) String() string
- type Server
- type Server_GRPC
- func (*Server_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *Server_GRPC) GetAddr() string
- func (x *Server_GRPC) GetNetwork() string
- func (x *Server_GRPC) GetTimeout() *durationpb.Duration
- func (*Server_GRPC) ProtoMessage()
- func (x *Server_GRPC) ProtoReflect() protoreflect.Message
- func (x *Server_GRPC) Reset()
- func (x *Server_GRPC) String() string
- type Server_HTTP
- func (*Server_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Server_HTTP) GetAddr() string
- func (x *Server_HTTP) GetNetwork() string
- func (x *Server_HTTP) GetTimeout() *durationpb.Duration
- func (*Server_HTTP) ProtoMessage()
- func (x *Server_HTTP) ProtoReflect() protoreflect.Message
- func (x *Server_HTTP) Reset()
- func (x *Server_HTTP) String() string
- type Trace
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_conf_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { ServiceKey string `protobuf:"bytes,1,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"` ApiKey string `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) GetServiceKey ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
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"` Trace *Trace `protobuf:"bytes,3,opt,name=trace,proto3" json:"trace,omitempty"` Auth *Auth `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty"` Casbin *Casbin `protobuf:"bytes,5,opt,name=casbin,proto3" json:"casbin,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Casbin ¶
type Casbin struct { Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` Debug bool `protobuf:"varint,2,opt,name=debug,proto3" json:"debug,omitempty"` ModelPath string `protobuf:"bytes,3,opt,name=model_path,json=modelPath,proto3" json:"model_path,omitempty"` AutoLoad bool `protobuf:"varint,4,opt,name=auto_load,json=autoLoad,proto3" json:"auto_load,omitempty"` AutoLoadInternal int32 `protobuf:"varint,5,opt,name=auto_load_internal,json=autoLoadInternal,proto3" json:"auto_load_internal,omitempty"` // contains filtered or unexported fields }
func (*Casbin) Descriptor
deprecated
func (*Casbin) GetAutoLoad ¶
func (*Casbin) GetAutoLoadInternal ¶
func (*Casbin) GetModelPath ¶
func (*Casbin) ProtoMessage ¶
func (*Casbin) ProtoMessage()
func (*Casbin) ProtoReflect ¶
func (x *Casbin) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` Redis *Data_Redis `protobuf:"bytes,2,opt,name=redis,proto3" json:"redis,omitempty"` Kafka *Data_Kafka `protobuf:"bytes,3,opt,name=kafka,proto3" json:"kafka,omitempty"` Mongodb *Data_MongoDB `protobuf:"bytes,4,opt,name=mongodb,proto3" json:"mongodb,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() *Data_Database
func (*Data) GetKafka ¶
func (x *Data) GetKafka() *Data_Kafka
func (*Data) GetMongodb ¶
func (x *Data) GetMongodb() *Data_MongoDB
func (*Data) GetRedis ¶
func (x *Data) GetRedis() *Data_Redis
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_Database ¶
type Data_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"` // contains filtered or unexported fields }
func (*Data_Database) Descriptor
deprecated
func (*Data_Database) Descriptor() ([]byte, []int)
Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
func (*Data_Database) GetDriver ¶
func (x *Data_Database) GetDriver() string
func (*Data_Database) GetSource ¶
func (x *Data_Database) GetSource() string
func (*Data_Database) ProtoMessage ¶
func (*Data_Database) ProtoMessage()
func (*Data_Database) ProtoReflect ¶
func (x *Data_Database) ProtoReflect() protoreflect.Message
func (*Data_Database) Reset ¶
func (x *Data_Database) Reset()
func (*Data_Database) String ¶
func (x *Data_Database) String() string
type Data_Kafka ¶
type Data_Kafka struct { Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` // contains filtered or unexported fields }
func (*Data_Kafka) Descriptor
deprecated
func (*Data_Kafka) Descriptor() ([]byte, []int)
Deprecated: Use Data_Kafka.ProtoReflect.Descriptor instead.
func (*Data_Kafka) GetAddrs ¶
func (x *Data_Kafka) GetAddrs() []string
func (*Data_Kafka) ProtoMessage ¶
func (*Data_Kafka) ProtoMessage()
func (*Data_Kafka) ProtoReflect ¶
func (x *Data_Kafka) ProtoReflect() protoreflect.Message
func (*Data_Kafka) Reset ¶
func (x *Data_Kafka) Reset()
func (*Data_Kafka) String ¶
func (x *Data_Kafka) String() string
type Data_MongoDB ¶
type Data_MongoDB struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*Data_MongoDB) Descriptor
deprecated
func (*Data_MongoDB) Descriptor() ([]byte, []int)
Deprecated: Use Data_MongoDB.ProtoReflect.Descriptor instead.
func (*Data_MongoDB) GetDatabase ¶
func (x *Data_MongoDB) GetDatabase() string
func (*Data_MongoDB) GetUri ¶
func (x *Data_MongoDB) GetUri() string
func (*Data_MongoDB) ProtoMessage ¶
func (*Data_MongoDB) ProtoMessage()
func (*Data_MongoDB) ProtoReflect ¶
func (x *Data_MongoDB) ProtoReflect() protoreflect.Message
func (*Data_MongoDB) Reset ¶
func (x *Data_MongoDB) Reset()
func (*Data_MongoDB) String ¶
func (x *Data_MongoDB) String() string
type Data_Redis ¶
type Data_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"` Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` DialTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=dial_timeout,json=dialTimeout,proto3" json:"dial_timeout,omitempty"` ReadTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=read_timeout,json=readTimeout,proto3" json:"read_timeout,omitempty"` WriteTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=write_timeout,json=writeTimeout,proto3" json:"write_timeout,omitempty"` // contains filtered or unexported fields }
func (*Data_Redis) Descriptor
deprecated
func (*Data_Redis) Descriptor() ([]byte, []int)
Deprecated: Use Data_Redis.ProtoReflect.Descriptor instead.
func (*Data_Redis) GetAddr ¶
func (x *Data_Redis) GetAddr() string
func (*Data_Redis) GetDb ¶
func (x *Data_Redis) GetDb() int32
func (*Data_Redis) GetDialTimeout ¶
func (x *Data_Redis) GetDialTimeout() *durationpb.Duration
func (*Data_Redis) GetNetwork ¶
func (x *Data_Redis) GetNetwork() string
func (*Data_Redis) GetPassword ¶
func (x *Data_Redis) GetPassword() string
func (*Data_Redis) GetReadTimeout ¶
func (x *Data_Redis) GetReadTimeout() *durationpb.Duration
func (*Data_Redis) GetWriteTimeout ¶
func (x *Data_Redis) GetWriteTimeout() *durationpb.Duration
func (*Data_Redis) ProtoMessage ¶
func (*Data_Redis) ProtoMessage()
func (*Data_Redis) ProtoReflect ¶
func (x *Data_Redis) ProtoReflect() protoreflect.Message
func (*Data_Redis) Reset ¶
func (x *Data_Redis) Reset()
func (*Data_Redis) String ¶
func (x *Data_Redis) String() string
type Registry ¶
type Registry struct { Consul *Registry_Consul `protobuf:"bytes,1,opt,name=consul,proto3" json:"consul,omitempty"` // contains filtered or unexported fields }
func (*Registry) Descriptor
deprecated
func (*Registry) GetConsul ¶
func (x *Registry) GetConsul() *Registry_Consul
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) ProtoReflect ¶
func (x *Registry) ProtoReflect() protoreflect.Message
type Registry_Consul ¶
type Registry_Consul struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"` // contains filtered or unexported fields }
func (*Registry_Consul) Descriptor
deprecated
func (*Registry_Consul) Descriptor() ([]byte, []int)
Deprecated: Use Registry_Consul.ProtoReflect.Descriptor instead.
func (*Registry_Consul) GetAddress ¶
func (x *Registry_Consul) GetAddress() string
func (*Registry_Consul) GetScheme ¶
func (x *Registry_Consul) GetScheme() string
func (*Registry_Consul) ProtoMessage ¶
func (*Registry_Consul) ProtoMessage()
func (*Registry_Consul) ProtoReflect ¶
func (x *Registry_Consul) ProtoReflect() protoreflect.Message
func (*Registry_Consul) Reset ¶
func (x *Registry_Consul) Reset()
func (*Registry_Consul) String ¶
func (x *Registry_Consul) String() string
type Server ¶
type Server struct { Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetGrpc ¶
func (x *Server) GetGrpc() *Server_GRPC
func (*Server) GetHttp ¶
func (x *Server) GetHttp() *Server_HTTP
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Server_GRPC ¶
type Server_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 (*Server_GRPC) Descriptor
deprecated
func (*Server_GRPC) Descriptor() ([]byte, []int)
Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
func (*Server_GRPC) GetAddr ¶
func (x *Server_GRPC) GetAddr() string
func (*Server_GRPC) GetNetwork ¶
func (x *Server_GRPC) GetNetwork() string
func (*Server_GRPC) GetTimeout ¶
func (x *Server_GRPC) GetTimeout() *durationpb.Duration
func (*Server_GRPC) ProtoMessage ¶
func (*Server_GRPC) ProtoMessage()
func (*Server_GRPC) ProtoReflect ¶
func (x *Server_GRPC) ProtoReflect() protoreflect.Message
func (*Server_GRPC) Reset ¶
func (x *Server_GRPC) Reset()
func (*Server_GRPC) String ¶
func (x *Server_GRPC) String() string
type Server_HTTP ¶
type Server_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 (*Server_HTTP) Descriptor
deprecated
func (*Server_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
func (*Server_HTTP) GetAddr ¶
func (x *Server_HTTP) GetAddr() string
func (*Server_HTTP) GetNetwork ¶
func (x *Server_HTTP) GetNetwork() string
func (*Server_HTTP) GetTimeout ¶
func (x *Server_HTTP) GetTimeout() *durationpb.Duration
func (*Server_HTTP) ProtoMessage ¶
func (*Server_HTTP) ProtoMessage()
func (*Server_HTTP) ProtoReflect ¶
func (x *Server_HTTP) ProtoReflect() protoreflect.Message
func (*Server_HTTP) Reset ¶
func (x *Server_HTTP) Reset()
func (*Server_HTTP) String ¶
func (x *Server_HTTP) String() string
type Trace ¶
type Trace struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*Trace) Descriptor
deprecated
func (*Trace) GetEndpoint ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.