conf

package
v0.0.0-...-2004213 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 {
	Data *Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

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

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

type Data

type Data struct {
	Etcd *Data_Etcd `protobuf:"bytes,1,opt,name=etcd,proto3" json:"etcd,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetEtcd

func (x *Data) GetEtcd() *Data_Etcd

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type Data_Etcd

type Data_Etcd struct {
	EndPoints   []string `protobuf:"bytes,1,rep,name=end_points,json=endPoints,proto3" json:"end_points,omitempty"`
	User        string   `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Password    string   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	DialTimeout uint32   `protobuf:"varint,4,opt,name=dial_timeout,json=dialTimeout,proto3" json:"dial_timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_Etcd) Descriptor deprecated

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

Deprecated: Use Data_Etcd.ProtoReflect.Descriptor instead.

func (*Data_Etcd) GetDialTimeout

func (x *Data_Etcd) GetDialTimeout() uint32

func (*Data_Etcd) GetEndPoints

func (x *Data_Etcd) GetEndPoints() []string

func (*Data_Etcd) GetPassword

func (x *Data_Etcd) GetPassword() string

func (*Data_Etcd) GetUser

func (x *Data_Etcd) GetUser() string

func (*Data_Etcd) ProtoMessage

func (*Data_Etcd) ProtoMessage()

func (*Data_Etcd) ProtoReflect

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

func (*Data_Etcd) Reset

func (x *Data_Etcd) Reset()

func (*Data_Etcd) String

func (x *Data_Etcd) String() string

type DownloadManagerServerConfig

type DownloadManagerServerConfig struct {
	Http  *config.HttpServerConfig
	Grpc  *config.GrpcServerConfig
	Redis *config.ReidsConfig
}

Jump to

Keyboard shortcuts

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