server

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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