conf

package
v0.0.0-...-6fd7e0b Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_qycms_blog_conf_conf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Jwt    *Jwt    `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	Casbin *Casbin `protobuf:"bytes,2,opt,name=casbin,proto3" json:"casbin,omitempty"`
	// contains filtered or unexported fields
}

func (*Auth) Descriptor deprecated

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

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetCasbin

func (x *Auth) GetCasbin() *Casbin

func (*Auth) GetJwt

func (x *Auth) GetJwt() *Jwt

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

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

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

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"`
	Qycms  *Qycms  `protobuf:"bytes,3,opt,name=qycms,proto3" json:"qycms,omitempty"`
	Auth   *Auth   `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty"`
	Trace  *Trace  `protobuf:"bytes,5,opt,name=trace,proto3" json:"trace,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetAuth

func (x *Bootstrap) GetAuth() *Auth

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetQycms

func (x *Bootstrap) GetQycms() *Qycms

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) GetTrace

func (x *Bootstrap) GetTrace() *Trace

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 Casbin

type Casbin struct {
	ModelPath string `protobuf:"bytes,1,opt,name=model_path,json=modelPath,proto3" json:"model_path,omitempty"`
	// contains filtered or unexported fields
}

func (*Casbin) Descriptor deprecated

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

Deprecated: Use Casbin.ProtoReflect.Descriptor instead.

func (*Casbin) GetModelPath

func (x *Casbin) GetModelPath() string

func (*Casbin) ProtoMessage

func (*Casbin) ProtoMessage()

func (*Casbin) ProtoReflect

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

func (*Casbin) Reset

func (x *Casbin) Reset()

func (*Casbin) String

func (x *Casbin) String() string

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"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetDatabase

func (x *Data) GetDatabase() *Data_Database

func (*Data) GetRedis

func (x *Data) GetRedis() *Data_Redis

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_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_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"`
	Password     string               `protobuf:"bytes,3,opt,name=password,proto3" json:"password,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 (*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) 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 EmailObj

type EmailObj struct {
	Host       string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port       string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	Username   string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password   string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	SenderName string `protobuf:"bytes,5,opt,name=senderName,proto3" json:"senderName,omitempty"`
	AdminEMail string `protobuf:"bytes,6,opt,name=adminEMail,proto3" json:"adminEMail,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailObj) Descriptor deprecated

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

Deprecated: Use EmailObj.ProtoReflect.Descriptor instead.

func (*EmailObj) GetAdminEMail

func (x *EmailObj) GetAdminEMail() string

func (*EmailObj) GetHost

func (x *EmailObj) GetHost() string

func (*EmailObj) GetPassword

func (x *EmailObj) GetPassword() string

func (*EmailObj) GetPort

func (x *EmailObj) GetPort() string

func (*EmailObj) GetSenderName

func (x *EmailObj) GetSenderName() string

func (*EmailObj) GetUsername

func (x *EmailObj) GetUsername() string

func (*EmailObj) ProtoMessage

func (*EmailObj) ProtoMessage()

func (*EmailObj) ProtoReflect

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

func (*EmailObj) Reset

func (x *EmailObj) Reset()

func (*EmailObj) String

func (x *EmailObj) String() string

type JobObj

type JobObj struct {
	CommentJobCron       string `protobuf:"bytes,1,opt,name=commentJobCron,proto3" json:"commentJobCron,omitempty"`
	SiteMapJobCron       string `protobuf:"bytes,2,opt,name=siteMapJobCron,proto3" json:"siteMapJobCron,omitempty"`
	PostViewCountJobCron string `protobuf:"bytes,3,opt,name=postViewCountJobCron,proto3" json:"postViewCountJobCron,omitempty"`
	EmailSendJobCron     string `protobuf:"bytes,4,opt,name=emailSendJobCron,proto3" json:"emailSendJobCron,omitempty"`
	// contains filtered or unexported fields
}

func (*JobObj) Descriptor deprecated

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

Deprecated: Use JobObj.ProtoReflect.Descriptor instead.

func (*JobObj) GetCommentJobCron

func (x *JobObj) GetCommentJobCron() string

func (*JobObj) GetEmailSendJobCron

func (x *JobObj) GetEmailSendJobCron() string

func (*JobObj) GetPostViewCountJobCron

func (x *JobObj) GetPostViewCountJobCron() string

func (*JobObj) GetSiteMapJobCron

func (x *JobObj) GetSiteMapJobCron() string

func (*JobObj) ProtoMessage

func (*JobObj) ProtoMessage()

func (*JobObj) ProtoReflect

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

func (*JobObj) Reset

func (x *JobObj) Reset()

func (*JobObj) String

func (x *JobObj) String() string

type Jwt

type Jwt struct {
	JwtSecret      string               `protobuf:"bytes,1,opt,name=jwt_secret,json=jwtSecret,proto3" json:"jwt_secret,omitempty"`
	ExpireDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=expire_duration,json=expireDuration,proto3" json:"expire_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*Jwt) Descriptor deprecated

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

Deprecated: Use Jwt.ProtoReflect.Descriptor instead.

func (*Jwt) GetExpireDuration

func (x *Jwt) GetExpireDuration() *durationpb.Duration

func (*Jwt) GetJwtSecret

func (x *Jwt) GetJwtSecret() string

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 LoggerObj

type LoggerObj struct {
	Path       string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Level      string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	MaxSize    int32  `protobuf:"varint,3,opt,name=maxSize,proto3" json:"maxSize,omitempty"`       //日志的最大大小(M)
	MaxBackups int32  `protobuf:"varint,4,opt,name=maxBackups,proto3" json:"maxBackups,omitempty"` //日志的最大保存数量
	MaxAge     int32  `protobuf:"varint,5,opt,name=maxAge,proto3" json:"maxAge,omitempty"`         //日志文件存储最大天数
	Compress   bool   `protobuf:"varint,6,opt,name=compress,proto3" json:"compress,omitempty"`     //是否执行压缩
	// contains filtered or unexported fields
}

func (*LoggerObj) Descriptor deprecated

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

Deprecated: Use LoggerObj.ProtoReflect.Descriptor instead.

func (*LoggerObj) GetCompress

func (x *LoggerObj) GetCompress() bool

func (*LoggerObj) GetLevel

func (x *LoggerObj) GetLevel() string

func (*LoggerObj) GetMaxAge

func (x *LoggerObj) GetMaxAge() int32

func (*LoggerObj) GetMaxBackups

func (x *LoggerObj) GetMaxBackups() int32

func (*LoggerObj) GetMaxSize

func (x *LoggerObj) GetMaxSize() int32

func (*LoggerObj) GetPath

func (x *LoggerObj) GetPath() string

func (*LoggerObj) ProtoMessage

func (*LoggerObj) ProtoMessage()

func (*LoggerObj) ProtoReflect

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

func (*LoggerObj) Reset

func (x *LoggerObj) Reset()

func (*LoggerObj) String

func (x *LoggerObj) String() string

type Qycms

type Qycms struct {
	Token       string     `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	SiteMapPath string     `protobuf:"bytes,2,opt,name=siteMapPath,proto3" json:"siteMapPath,omitempty"`
	Jobs        *JobObj    `protobuf:"bytes,3,opt,name=jobs,proto3" json:"jobs,omitempty"`
	Email       *EmailObj  `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	DocPath     string     `protobuf:"bytes,5,opt,name=docPath,proto3" json:"docPath,omitempty"`
	Logger      *LoggerObj `protobuf:"bytes,6,opt,name=logger,proto3" json:"logger,omitempty"`
	Mode        string     `protobuf:"bytes,7,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*Qycms) Descriptor deprecated

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

Deprecated: Use Qycms.ProtoReflect.Descriptor instead.

func (*Qycms) GetDocPath

func (x *Qycms) GetDocPath() string

func (*Qycms) GetEmail

func (x *Qycms) GetEmail() *EmailObj

func (*Qycms) GetJobs

func (x *Qycms) GetJobs() *JobObj

func (*Qycms) GetLogger

func (x *Qycms) GetLogger() *LoggerObj

func (*Qycms) GetMode

func (x *Qycms) GetMode() string

func (*Qycms) GetSiteMapPath

func (x *Qycms) GetSiteMapPath() string

func (*Qycms) GetToken

func (x *Qycms) GetToken() string

func (*Qycms) ProtoMessage

func (*Qycms) ProtoMessage()

func (*Qycms) ProtoReflect

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

func (*Qycms) Reset

func (x *Qycms) Reset()

func (*Qycms) String

func (x *Qycms) String() string

type Registry

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

func (*Registry) Descriptor deprecated

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

Deprecated: Use Registry.ProtoReflect.Descriptor instead.

func (*Registry) GetEtcd

func (x *Registry) GetEtcd() *Registry_Etcd

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_Etcd

type Registry_Etcd struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*Registry_Etcd) Descriptor deprecated

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

Deprecated: Use Registry_Etcd.ProtoReflect.Descriptor instead.

func (*Registry_Etcd) GetAddress

func (x *Registry_Etcd) GetAddress() string

func (*Registry_Etcd) ProtoMessage

func (*Registry_Etcd) ProtoMessage()

func (*Registry_Etcd) ProtoReflect

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

func (*Registry_Etcd) Reset

func (x *Registry_Etcd) Reset()

func (*Registry_Etcd) String

func (x *Registry_Etcd) 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

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

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetEndpoint

func (x *Trace) GetEndpoint() string

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect

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

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) String

func (x *Trace) String() string

Jump to

Keyboard shortcuts

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