Documentation ¶
Index ¶
- Variables
- type AlistConfig
- type AllServer
- func (*AllServer) Descriptor() ([]byte, []int)deprecated
- func (x *AllServer) GetAlist() *AlistConfig
- func (x *AllServer) GetBilibili() *BilibiliConfig
- func (x *AllServer) GetEmby() *EmbyConfig
- func (x *AllServer) GetRegistry() *Registry
- func (x *AllServer) GetServer() *GrpcServer
- func (x *AllServer) GetWebdav() *WebdavConfig
- func (*AllServer) ProtoMessage()
- func (x *AllServer) ProtoReflect() protoreflect.Message
- func (x *AllServer) Reset()
- func (x *AllServer) String() string
- type BilibiliConfig
- type EmbyConfig
- type GrpcServer
- func (*GrpcServer) Descriptor() ([]byte, []int)deprecated
- func (x *GrpcServer) GetAddr() string
- func (x *GrpcServer) GetCustomEndpoint() string
- func (x *GrpcServer) GetJwtSecret() string
- func (x *GrpcServer) GetServiceName() string
- func (x *GrpcServer) GetTimeout() *durationpb.Duration
- func (x *GrpcServer) GetTls() *GrpcServer_TLS
- func (*GrpcServer) ProtoMessage()
- func (x *GrpcServer) ProtoReflect() protoreflect.Message
- func (x *GrpcServer) Reset()
- func (x *GrpcServer) String() string
- type GrpcServer_TLS
- func (*GrpcServer_TLS) Descriptor() ([]byte, []int)deprecated
- func (x *GrpcServer_TLS) GetCaFile() string
- func (x *GrpcServer_TLS) GetCertFile() string
- func (x *GrpcServer_TLS) GetKeyFile() string
- func (*GrpcServer_TLS) ProtoMessage()
- func (x *GrpcServer_TLS) ProtoReflect() protoreflect.Message
- func (x *GrpcServer_TLS) Reset()
- func (x *GrpcServer_TLS) String() string
- type Registry
- type Registry_Consul
- func (*Registry_Consul) Descriptor() ([]byte, []int)deprecated
- func (x *Registry_Consul) GetAddr() string
- func (x *Registry_Consul) GetPrefix() string
- func (x *Registry_Consul) GetScheme() string
- func (x *Registry_Consul) GetTimeout() *durationpb.Duration
- func (*Registry_Consul) ProtoMessage()
- func (x *Registry_Consul) ProtoReflect() protoreflect.Message
- func (x *Registry_Consul) Reset()
- func (x *Registry_Consul) String() string
- type Registry_Etcd
- func (*Registry_Etcd) Descriptor() ([]byte, []int)deprecated
- func (x *Registry_Etcd) GetEndpoint() string
- func (x *Registry_Etcd) GetPassword() string
- func (x *Registry_Etcd) GetTimeout() *durationpb.Duration
- func (x *Registry_Etcd) GetUsername() string
- func (*Registry_Etcd) ProtoMessage()
- func (x *Registry_Etcd) ProtoReflect() protoreflect.Message
- func (x *Registry_Etcd) Reset()
- func (x *Registry_Etcd) String() string
- type WebServer
- func (*WebServer) Descriptor() ([]byte, []int)deprecated
- func (x *WebServer) GetAddr() string
- func (x *WebServer) GetCustomEndpoint() string
- func (x *WebServer) GetServiceName() string
- func (x *WebServer) GetTls() *WebServer_TLS
- func (*WebServer) ProtoMessage()
- func (x *WebServer) ProtoReflect() protoreflect.Message
- func (x *WebServer) Reset()
- func (x *WebServer) String() string
- type WebServer_TLS
- func (*WebServer_TLS) Descriptor() ([]byte, []int)deprecated
- func (x *WebServer_TLS) GetCaFile() string
- func (x *WebServer_TLS) GetCertFile() string
- func (x *WebServer_TLS) GetKeyFile() string
- func (*WebServer_TLS) ProtoMessage()
- func (x *WebServer_TLS) ProtoReflect() protoreflect.Message
- func (x *WebServer_TLS) Reset()
- func (x *WebServer_TLS) String() string
- type WebdavConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var File_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AlistConfig ¶
type AlistConfig struct {
// contains filtered or unexported fields
}
func (*AlistConfig) Descriptor
deprecated
func (*AlistConfig) Descriptor() ([]byte, []int)
Deprecated: Use AlistConfig.ProtoReflect.Descriptor instead.
func (*AlistConfig) ProtoMessage ¶
func (*AlistConfig) ProtoMessage()
func (*AlistConfig) ProtoReflect ¶
func (x *AlistConfig) ProtoReflect() protoreflect.Message
func (*AlistConfig) Reset ¶
func (x *AlistConfig) Reset()
func (*AlistConfig) String ¶
func (x *AlistConfig) String() string
type AllServer ¶
type AllServer struct { Server *GrpcServer `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` Registry *Registry `protobuf:"bytes,2,opt,name=registry,proto3" json:"registry,omitempty"` Bilibili *BilibiliConfig `protobuf:"bytes,3,opt,name=bilibili,proto3" json:"bilibili,omitempty"` Alist *AlistConfig `protobuf:"bytes,4,opt,name=alist,proto3" json:"alist,omitempty"` Emby *EmbyConfig `protobuf:"bytes,5,opt,name=emby,proto3" json:"emby,omitempty"` Webdav *WebdavConfig `protobuf:"bytes,6,opt,name=webdav,proto3" json:"webdav,omitempty"` // contains filtered or unexported fields }
func (*AllServer) Descriptor
deprecated
func (*AllServer) GetAlist ¶ added in v0.3.2
func (x *AllServer) GetAlist() *AlistConfig
func (*AllServer) GetBilibili ¶ added in v0.3.2
func (x *AllServer) GetBilibili() *BilibiliConfig
func (*AllServer) GetEmby ¶ added in v0.3.2
func (x *AllServer) GetEmby() *EmbyConfig
func (*AllServer) GetRegistry ¶ added in v0.3.2
func (*AllServer) GetServer ¶ added in v0.3.2
func (x *AllServer) GetServer() *GrpcServer
func (*AllServer) GetWebdav ¶ added in v0.3.3
func (x *AllServer) GetWebdav() *WebdavConfig
func (*AllServer) ProtoMessage ¶
func (*AllServer) ProtoMessage()
func (*AllServer) ProtoReflect ¶
func (x *AllServer) ProtoReflect() protoreflect.Message
type BilibiliConfig ¶
type BilibiliConfig struct {
// contains filtered or unexported fields
}
func (*BilibiliConfig) Descriptor
deprecated
func (*BilibiliConfig) Descriptor() ([]byte, []int)
Deprecated: Use BilibiliConfig.ProtoReflect.Descriptor instead.
func (*BilibiliConfig) ProtoMessage ¶
func (*BilibiliConfig) ProtoMessage()
func (*BilibiliConfig) ProtoReflect ¶
func (x *BilibiliConfig) ProtoReflect() protoreflect.Message
func (*BilibiliConfig) Reset ¶
func (x *BilibiliConfig) Reset()
func (*BilibiliConfig) String ¶
func (x *BilibiliConfig) String() string
type EmbyConfig ¶
type EmbyConfig struct {
// contains filtered or unexported fields
}
func (*EmbyConfig) Descriptor
deprecated
func (*EmbyConfig) Descriptor() ([]byte, []int)
Deprecated: Use EmbyConfig.ProtoReflect.Descriptor instead.
func (*EmbyConfig) ProtoMessage ¶
func (*EmbyConfig) ProtoMessage()
func (*EmbyConfig) ProtoReflect ¶
func (x *EmbyConfig) ProtoReflect() protoreflect.Message
func (*EmbyConfig) Reset ¶
func (x *EmbyConfig) Reset()
func (*EmbyConfig) String ¶
func (x *EmbyConfig) String() string
type GrpcServer ¶ added in v0.3.2
type GrpcServer struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty" env:"GRPC_ADDR"` // @gotags: env:"GRPC_ADDR" Tls *GrpcServer_TLS `protobuf:"bytes,2,opt,name=tls,proto3" json:"tls,omitempty"` CustomEndpoint string `` // @gotags: env:"GRPC_CUSTOM_ENDPOINT" /* 130-byte string literal not displayed */ Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty" env:"SERVER_TIMEOUT"` // @gotags: env:"SERVER_TIMEOUT" JwtSecret string `protobuf:"bytes,5,opt,name=jwt_secret,json=jwtSecret,proto3" json:"jwt_secret,omitempty" env:"SERVER_JWT_SECRET"` // @gotags: env:"SERVER_JWT_SECRET" ServiceName string `protobuf:"bytes,6,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" env:"SERVICE_NAME"` // @gotags: env:"SERVICE_NAME" // contains filtered or unexported fields }
func DefaultGrpcServer ¶ added in v0.3.2
func DefaultGrpcServer() *GrpcServer
func (*GrpcServer) Descriptor
deprecated
added in
v0.3.2
func (*GrpcServer) Descriptor() ([]byte, []int)
Deprecated: Use GrpcServer.ProtoReflect.Descriptor instead.
func (*GrpcServer) GetAddr ¶ added in v0.3.2
func (x *GrpcServer) GetAddr() string
func (*GrpcServer) GetCustomEndpoint ¶ added in v0.3.2
func (x *GrpcServer) GetCustomEndpoint() string
func (*GrpcServer) GetJwtSecret ¶ added in v0.3.2
func (x *GrpcServer) GetJwtSecret() string
func (*GrpcServer) GetServiceName ¶ added in v0.3.2
func (x *GrpcServer) GetServiceName() string
func (*GrpcServer) GetTimeout ¶ added in v0.3.2
func (x *GrpcServer) GetTimeout() *durationpb.Duration
func (*GrpcServer) GetTls ¶ added in v0.3.2
func (x *GrpcServer) GetTls() *GrpcServer_TLS
func (*GrpcServer) ProtoMessage ¶ added in v0.3.2
func (*GrpcServer) ProtoMessage()
func (*GrpcServer) ProtoReflect ¶ added in v0.3.2
func (x *GrpcServer) ProtoReflect() protoreflect.Message
func (*GrpcServer) Reset ¶ added in v0.3.2
func (x *GrpcServer) Reset()
func (*GrpcServer) String ¶ added in v0.3.2
func (x *GrpcServer) String() string
type GrpcServer_TLS ¶ added in v0.3.2
type GrpcServer_TLS struct { CertFile string `protobuf:"bytes,1,opt,name=cert_file,json=certFile,proto3" json:"cert_file,omitempty" env:"GRPC_CERT_FILE"` // @gotags: env:"GRPC_CERT_FILE" KeyFile string `protobuf:"bytes,2,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty" env:"GRPC_KEY_FILE"` // @gotags: env:"GRPC_KEY_FILE" CaFile string `protobuf:"bytes,3,opt,name=ca_file,json=caFile,proto3" json:"ca_file,omitempty" env:"GRPC_CA_FILE"` // @gotags: env:"GRPC_CA_FILE" // contains filtered or unexported fields }
func (*GrpcServer_TLS) Descriptor
deprecated
added in
v0.3.2
func (*GrpcServer_TLS) Descriptor() ([]byte, []int)
Deprecated: Use GrpcServer_TLS.ProtoReflect.Descriptor instead.
func (*GrpcServer_TLS) GetCaFile ¶ added in v0.3.2
func (x *GrpcServer_TLS) GetCaFile() string
func (*GrpcServer_TLS) GetCertFile ¶ added in v0.3.2
func (x *GrpcServer_TLS) GetCertFile() string
func (*GrpcServer_TLS) GetKeyFile ¶ added in v0.3.2
func (x *GrpcServer_TLS) GetKeyFile() string
func (*GrpcServer_TLS) ProtoMessage ¶ added in v0.3.2
func (*GrpcServer_TLS) ProtoMessage()
func (*GrpcServer_TLS) ProtoReflect ¶ added in v0.3.2
func (x *GrpcServer_TLS) ProtoReflect() protoreflect.Message
func (*GrpcServer_TLS) Reset ¶ added in v0.3.2
func (x *GrpcServer_TLS) Reset()
func (*GrpcServer_TLS) String ¶ added in v0.3.2
func (x *GrpcServer_TLS) String() string
type Registry ¶
type Registry struct { Consul *Registry_Consul `protobuf:"bytes,1,opt,name=consul,proto3" json:"consul,omitempty"` Etcd *Registry_Etcd `protobuf:"bytes,2,opt,name=etcd,proto3" json:"etcd,omitempty"` // contains filtered or unexported fields }
func DefaultRegistry ¶ added in v0.3.2
func DefaultRegistry() *Registry
func (*Registry) Descriptor
deprecated
func (*Registry) GetConsul ¶
func (x *Registry) GetConsul() *Registry_Consul
func (*Registry) GetEtcd ¶
func (x *Registry) GetEtcd() *Registry_Etcd
func (*Registry) ProtoMessage ¶
func (*Registry) ProtoMessage()
func (*Registry) ProtoReflect ¶
func (x *Registry) ProtoReflect() protoreflect.Message
type Registry_Consul ¶
type Registry_Consul struct { Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty" env:"CONSUL_SCHEME"` // @gotags: env:"CONSUL_SCHEME" Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty" env:"CONSUL_ADDR"` // @gotags: env:"CONSUL_ADDR" Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty" env:"CONSUL_PREFIX"` // @gotags: env:"CONSUL_PREFIX" Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty" env:"CONSUL_TIMEOUT"` // @gotags: env:"CONSUL_TIMEOUT" // 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) GetAddr ¶
func (x *Registry_Consul) GetAddr() string
func (*Registry_Consul) GetPrefix ¶
func (x *Registry_Consul) GetPrefix() string
func (*Registry_Consul) GetScheme ¶
func (x *Registry_Consul) GetScheme() string
func (*Registry_Consul) GetTimeout ¶
func (x *Registry_Consul) GetTimeout() *durationpb.Duration
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 Registry_Etcd ¶
type Registry_Etcd struct { Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty" env:"ETCD_ENDPOINT"` // @gotags: env:"ETCD_ENDPOINT" Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty" env:"ETCD_USERNAME"` // @gotags: env:"ETCD_USERNAME" Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty" env:"ETCD_PASSWORD"` // @gotags: env:"ETCD_PASSWORD" Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty" env:"ETCD_TIMEOUT"` // @gotags: env:"ETCD_TIMEOUT" // 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) GetEndpoint ¶
func (x *Registry_Etcd) GetEndpoint() string
func (*Registry_Etcd) GetPassword ¶
func (x *Registry_Etcd) GetPassword() string
func (*Registry_Etcd) GetTimeout ¶
func (x *Registry_Etcd) GetTimeout() *durationpb.Duration
func (*Registry_Etcd) GetUsername ¶
func (x *Registry_Etcd) GetUsername() 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 WebServer ¶ added in v0.3.2
type WebServer struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty" env:"WEB_ADDR"` // @gotags: env:"WEB_ADDR" Tls *WebServer_TLS `protobuf:"bytes,2,opt,name=tls,proto3" json:"tls,omitempty"` CustomEndpoint string `` // @gotags: env:"WEB_CUSTOM_ENDPOINT" /* 129-byte string literal not displayed */ ServiceName string `protobuf:"bytes,6,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty" env:"SERVICE_NAME"` // @gotags: env:"SERVICE_NAME" // contains filtered or unexported fields }
func (*WebServer) Descriptor
deprecated
added in
v0.3.2
func (*WebServer) GetCustomEndpoint ¶ added in v0.3.2
func (*WebServer) GetServiceName ¶ added in v0.3.2
func (*WebServer) GetTls ¶ added in v0.3.2
func (x *WebServer) GetTls() *WebServer_TLS
func (*WebServer) ProtoMessage ¶ added in v0.3.2
func (*WebServer) ProtoMessage()
func (*WebServer) ProtoReflect ¶ added in v0.3.2
func (x *WebServer) ProtoReflect() protoreflect.Message
type WebServer_TLS ¶ added in v0.3.2
type WebServer_TLS struct { CertFile string `protobuf:"bytes,1,opt,name=cert_file,json=certFile,proto3" json:"cert_file,omitempty" env:"WEB_CERT_FILE"` // @gotags: env:"WEB_CERT_FILE" KeyFile string `protobuf:"bytes,2,opt,name=key_file,json=keyFile,proto3" json:"key_file,omitempty" env:"WEB_KEY_FILE"` // @gotags: env:"WEB_KEY_FILE" CaFile string `protobuf:"bytes,3,opt,name=ca_file,json=caFile,proto3" json:"ca_file,omitempty" env:"WEB_CA_FILE"` // @gotags: env:"WEB_CA_FILE" // contains filtered or unexported fields }
func (*WebServer_TLS) Descriptor
deprecated
added in
v0.3.2
func (*WebServer_TLS) Descriptor() ([]byte, []int)
Deprecated: Use WebServer_TLS.ProtoReflect.Descriptor instead.
func (*WebServer_TLS) GetCaFile ¶ added in v0.3.2
func (x *WebServer_TLS) GetCaFile() string
func (*WebServer_TLS) GetCertFile ¶ added in v0.3.2
func (x *WebServer_TLS) GetCertFile() string
func (*WebServer_TLS) GetKeyFile ¶ added in v0.3.2
func (x *WebServer_TLS) GetKeyFile() string
func (*WebServer_TLS) ProtoMessage ¶ added in v0.3.2
func (*WebServer_TLS) ProtoMessage()
func (*WebServer_TLS) ProtoReflect ¶ added in v0.3.2
func (x *WebServer_TLS) ProtoReflect() protoreflect.Message
func (*WebServer_TLS) Reset ¶ added in v0.3.2
func (x *WebServer_TLS) Reset()
func (*WebServer_TLS) String ¶ added in v0.3.2
func (x *WebServer_TLS) String() string
type WebdavConfig ¶ added in v0.3.3
type WebdavConfig struct {
// contains filtered or unexported fields
}
func (*WebdavConfig) Descriptor
deprecated
added in
v0.3.3
func (*WebdavConfig) Descriptor() ([]byte, []int)
Deprecated: Use WebdavConfig.ProtoReflect.Descriptor instead.
func (*WebdavConfig) ProtoMessage ¶ added in v0.3.3
func (*WebdavConfig) ProtoMessage()
func (*WebdavConfig) ProtoReflect ¶ added in v0.3.3
func (x *WebdavConfig) ProtoReflect() protoreflect.Message
func (*WebdavConfig) Reset ¶ added in v0.3.3
func (x *WebdavConfig) Reset()
func (*WebdavConfig) String ¶ added in v0.3.3
func (x *WebdavConfig) String() string
Click to show internal directories.
Click to hide internal directories.