Documentation
¶
Index ¶
- Variables
- type ServerConfig
- func (*ServerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServerConfig) GetGeo() *configs.GeoConfig
- func (x *ServerConfig) GetId() uint32
- func (x *ServerConfig) GetInbounds() []*configs.ProxyInboundConfig
- func (x *ServerConfig) GetLog() *configs.LoggerConfig
- func (x *ServerConfig) GetMultiInbounds() []*configs.MultiProxyInboundConfig
- func (x *ServerConfig) GetOutbounds() []*configs.OutboundHandlerConfig
- func (x *ServerConfig) GetPolicy() *configs.PolicyConfig
- func (x *ServerConfig) GetRouter() *configs.RouterConfig
- func (x *ServerConfig) GetUsers() []*configs.UserConfig
- func (*ServerConfig) ProtoMessage()
- func (x *ServerConfig) ProtoReflect() protoreflect.Message
- func (x *ServerConfig) Reset()
- func (x *ServerConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protos_server_server_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ServerConfig ¶
type ServerConfig struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Inbounds []*configs.ProxyInboundConfig `protobuf:"bytes,3,rep,name=inbounds,proto3" json:"inbounds,omitempty"`
MultiInbounds []*configs.MultiProxyInboundConfig `protobuf:"bytes,11,rep,name=multi_inbounds,json=multiInbounds,proto3" json:"multi_inbounds,omitempty"`
Policy *configs.PolicyConfig `protobuf:"bytes,4,opt,name=policy,proto3" json:"policy,omitempty"`
Router *configs.RouterConfig `protobuf:"bytes,5,opt,name=router,proto3" json:"router,omitempty"`
Log *configs.LoggerConfig `protobuf:"bytes,6,opt,name=log,proto3" json:"log,omitempty"`
Users []*configs.UserConfig `protobuf:"bytes,7,rep,name=users,proto3" json:"users,omitempty"`
Outbounds []*configs.OutboundHandlerConfig `protobuf:"bytes,9,rep,name=outbounds,proto3" json:"outbounds,omitempty"`
Geo *configs.GeoConfig `protobuf:"bytes,10,opt,name=geo,proto3" json:"geo,omitempty"`
// contains filtered or unexported fields
}
func (*ServerConfig) Descriptor
deprecated
func (*ServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
func (*ServerConfig) GetGeo ¶
func (x *ServerConfig) GetGeo() *configs.GeoConfig
func (*ServerConfig) GetId ¶
func (x *ServerConfig) GetId() uint32
func (*ServerConfig) GetInbounds ¶
func (x *ServerConfig) GetInbounds() []*configs.ProxyInboundConfig
func (*ServerConfig) GetLog ¶
func (x *ServerConfig) GetLog() *configs.LoggerConfig
func (*ServerConfig) GetMultiInbounds ¶
func (x *ServerConfig) GetMultiInbounds() []*configs.MultiProxyInboundConfig
func (*ServerConfig) GetOutbounds ¶
func (x *ServerConfig) GetOutbounds() []*configs.OutboundHandlerConfig
func (*ServerConfig) GetPolicy ¶
func (x *ServerConfig) GetPolicy() *configs.PolicyConfig
func (*ServerConfig) GetRouter ¶
func (x *ServerConfig) GetRouter() *configs.RouterConfig
func (*ServerConfig) GetUsers ¶
func (x *ServerConfig) GetUsers() []*configs.UserConfig
func (*ServerConfig) ProtoMessage ¶
func (*ServerConfig) ProtoMessage()
func (*ServerConfig) ProtoReflect ¶
func (x *ServerConfig) ProtoReflect() protoreflect.Message
func (*ServerConfig) Reset ¶
func (x *ServerConfig) Reset()
func (*ServerConfig) String ¶
func (x *ServerConfig) String() string
Click to show internal directories.
Click to hide internal directories.