conf

package
v0.0.0-...-7d1b39b Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_publish_service_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"`
	Jwt    *JWT    `protobuf:"bytes,3,opt,name=jwt,proto3" json:"jwt,omitempty"`
	Minio  *Minio  `protobuf:"bytes,4,opt,name=minio,proto3" json:"minio,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) GetJwt

func (x *Bootstrap) GetJwt() *JWT

func (*Bootstrap) GetMinio

func (x *Bootstrap) GetMinio() *Minio

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

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 {
	Mysql *Data_Mysql `protobuf:"bytes,1,opt,name=mysql,proto3" json:"mysql,omitempty"`
	Kafka *Data_Kafka `protobuf:"bytes,2,opt,name=kafka,proto3" json:"kafka,omitempty"`
	// contains filtered or unexported fields
}

Data

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetKafka

func (x *Data) GetKafka() *Data_Kafka

func (*Data) GetMysql

func (x *Data) GetMysql() *Data_Mysql

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_Kafka

type Data_Kafka struct {
	Addr          string               `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	CommentTopic  string               `protobuf:"bytes,2,opt,name=comment_topic,json=commentTopic,proto3" json:"comment_topic,omitempty"`
	FavoriteTopic string               `protobuf:"bytes,3,opt,name=favorite_topic,json=favoriteTopic,proto3" json:"favorite_topic,omitempty"`
	PublishTopic  string               `protobuf:"bytes,4,opt,name=publish_topic,json=publishTopic,proto3" json:"publish_topic,omitempty"`
	Partition     int32                `protobuf:"varint,5,opt,name=partition,proto3" json:"partition,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_Kafka) Descriptor deprecated

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

Deprecated: Use Data_Kafka.ProtoReflect.Descriptor instead.

func (*Data_Kafka) GetAddr

func (x *Data_Kafka) GetAddr() string

func (*Data_Kafka) GetCommentTopic

func (x *Data_Kafka) GetCommentTopic() string

func (*Data_Kafka) GetFavoriteTopic

func (x *Data_Kafka) GetFavoriteTopic() string

func (*Data_Kafka) GetPartition

func (x *Data_Kafka) GetPartition() int32

func (*Data_Kafka) GetPublishTopic

func (x *Data_Kafka) GetPublishTopic() string

func (*Data_Kafka) GetReadTimeout

func (x *Data_Kafka) GetReadTimeout() *durationpb.Duration

func (*Data_Kafka) GetWriteTimeout

func (x *Data_Kafka) GetWriteTimeout() *durationpb.Duration

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_Mysql

type Data_Mysql struct {
	Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	Dsn    string `protobuf:"bytes,2,opt,name=dsn,proto3" json:"dsn,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_Mysql) Descriptor deprecated

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

Deprecated: Use Data_Mysql.ProtoReflect.Descriptor instead.

func (*Data_Mysql) GetDriver

func (x *Data_Mysql) GetDriver() string

func (*Data_Mysql) GetDsn

func (x *Data_Mysql) GetDsn() string

func (*Data_Mysql) ProtoMessage

func (*Data_Mysql) ProtoMessage()

func (*Data_Mysql) ProtoReflect

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

func (*Data_Mysql) Reset

func (x *Data_Mysql) Reset()

func (*Data_Mysql) String

func (x *Data_Mysql) String() string

type JWT

type JWT struct {
	Http *JWT_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	Grpc *JWT_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
	// contains filtered or unexported fields
}

func (*JWT) Descriptor deprecated

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

Deprecated: Use JWT.ProtoReflect.Descriptor instead.

func (*JWT) GetGrpc

func (x *JWT) GetGrpc() *JWT_GRPC

func (*JWT) GetHttp

func (x *JWT) GetHttp() *JWT_HTTP

func (*JWT) ProtoMessage

func (*JWT) ProtoMessage()

func (*JWT) ProtoReflect

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

func (*JWT) Reset

func (x *JWT) Reset()

func (*JWT) String

func (x *JWT) String() string

type JWT_GRPC

type JWT_GRPC struct {
	TokenKey string `protobuf:"bytes,1,opt,name=token_key,json=tokenKey,proto3" json:"token_key,omitempty"`
	// contains filtered or unexported fields
}

func (*JWT_GRPC) Descriptor deprecated

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

Deprecated: Use JWT_GRPC.ProtoReflect.Descriptor instead.

func (*JWT_GRPC) GetTokenKey

func (x *JWT_GRPC) GetTokenKey() string

func (*JWT_GRPC) ProtoMessage

func (*JWT_GRPC) ProtoMessage()

func (*JWT_GRPC) ProtoReflect

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

func (*JWT_GRPC) Reset

func (x *JWT_GRPC) Reset()

func (*JWT_GRPC) String

func (x *JWT_GRPC) String() string

type JWT_HTTP

type JWT_HTTP struct {
	TokenKey string `protobuf:"bytes,1,opt,name=token_key,json=tokenKey,proto3" json:"token_key,omitempty"`
	// contains filtered or unexported fields
}

func (*JWT_HTTP) Descriptor deprecated

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

Deprecated: Use JWT_HTTP.ProtoReflect.Descriptor instead.

func (*JWT_HTTP) GetTokenKey

func (x *JWT_HTTP) GetTokenKey() string

func (*JWT_HTTP) ProtoMessage

func (*JWT_HTTP) ProtoMessage()

func (*JWT_HTTP) ProtoReflect

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

func (*JWT_HTTP) Reset

func (x *JWT_HTTP) Reset()

func (*JWT_HTTP) String

func (x *JWT_HTTP) String() string

type Minio

type Minio struct {
	EndpointExtra string `protobuf:"bytes,1,opt,name=endpoint_extra,json=endpointExtra,proto3" json:"endpoint_extra,omitempty"`
	EndpointIntra string `protobuf:"bytes,2,opt,name=endpoint_intra,json=endpointIntra,proto3" json:"endpoint_intra,omitempty"`
	AccessKeyId   string `protobuf:"bytes,3,opt,name=access_key_id,json=accessKeyId,proto3" json:"access_key_id,omitempty"`
	AccessSecret  string `protobuf:"bytes,4,opt,name=access_secret,json=accessSecret,proto3" json:"access_secret,omitempty"`
	UseSsl        bool   `protobuf:"varint,5,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`
	BucketName    string `protobuf:"bytes,6,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Minio) Descriptor deprecated

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

Deprecated: Use Minio.ProtoReflect.Descriptor instead.

func (*Minio) GetAccessKeyId

func (x *Minio) GetAccessKeyId() string

func (*Minio) GetAccessSecret

func (x *Minio) GetAccessSecret() string

func (*Minio) GetBucketName

func (x *Minio) GetBucketName() string

func (*Minio) GetEndpointExtra

func (x *Minio) GetEndpointExtra() string

func (*Minio) GetEndpointIntra

func (x *Minio) GetEndpointIntra() string

func (*Minio) GetUseSsl

func (x *Minio) GetUseSsl() bool

func (*Minio) ProtoMessage

func (*Minio) ProtoMessage()

func (*Minio) ProtoReflect

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

func (*Minio) Reset

func (x *Minio) Reset()

func (*Minio) String

func (x *Minio) 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) Descriptor() ([]byte, []int)

Deprecated: Use Registry.ProtoReflect.Descriptor instead.

func (*Registry) GetConsul

func (x *Registry) GetConsul() *Registry_Consul

func (*Registry) ProtoMessage

func (*Registry) ProtoMessage()

func (*Registry) ProtoReflect

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

func (*Registry) Reset

func (x *Registry) Reset()

func (*Registry) String

func (x *Registry) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

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

Jump to

Keyboard shortcuts

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