Versions in this module Expand all Collapse all v1 v1.0.0 Dec 19, 2023 Changes in this version + var File_broadcast_proto protoreflect.FileDescriptor + var File_multicast_proto protoreflect.FileDescriptor + var File_redirect_proto protoreflect.FileDescriptor + var File_serviceinfo_proto protoreflect.FileDescriptor + var File_srvlibpacketid_proto protoreflect.FileDescriptor + var File_srvregiste_proto protoreflect.FileDescriptor + var File_transit_proto protoreflect.FileDescriptor + var SrvlibPacketID_name = map[int32]string + var SrvlibPacketID_value = map[string]int32 + type BCClientSession struct + Dummy bool + func (*BCClientSession) Descriptor() ([]byte, []int) + func (*BCClientSession) ProtoMessage() + func (x *BCClientSession) GetDummy() bool + func (x *BCClientSession) ProtoReflect() protoreflect.Message + func (x *BCClientSession) Reset() + func (x *BCClientSession) String() string + type BCServerSession struct + SArea int32 + SType int32 + func (*BCServerSession) Descriptor() ([]byte, []int) + func (*BCServerSession) ProtoMessage() + func (x *BCServerSession) GetSArea() int32 + func (x *BCServerSession) GetSType() int32 + func (x *BCServerSession) ProtoReflect() protoreflect.Message + func (x *BCServerSession) Reset() + func (x *BCServerSession) String() string + type BCSessionUnion struct + Bccs *BCClientSession + Bcss *BCServerSession + func (*BCSessionUnion) Descriptor() ([]byte, []int) + func (*BCSessionUnion) ProtoMessage() + func (x *BCSessionUnion) GetBccs() *BCClientSession + func (x *BCSessionUnion) GetBcss() *BCServerSession + func (x *BCSessionUnion) ProtoReflect() protoreflect.Message + func (x *BCSessionUnion) Reset() + func (x *BCSessionUnion) String() string + type MCClientSession struct + SId int64 + func (*MCClientSession) Descriptor() ([]byte, []int) + func (*MCClientSession) ProtoMessage() + func (x *MCClientSession) GetSId() int64 + func (x *MCClientSession) ProtoReflect() protoreflect.Message + func (x *MCClientSession) Reset() + func (x *MCClientSession) String() string + type MCServerSession struct + SArea int32 + SId int32 + SType int32 + func (*MCServerSession) Descriptor() ([]byte, []int) + func (*MCServerSession) ProtoMessage() + func (x *MCServerSession) GetSArea() int32 + func (x *MCServerSession) GetSId() int32 + func (x *MCServerSession) GetSType() int32 + func (x *MCServerSession) ProtoReflect() protoreflect.Message + func (x *MCServerSession) Reset() + func (x *MCServerSession) String() string + type MCSessionUnion struct + Mccs *MCClientSession + Mcss *MCServerSession + func (*MCSessionUnion) Descriptor() ([]byte, []int) + func (*MCSessionUnion) ProtoMessage() + func (x *MCSessionUnion) GetMccs() *MCClientSession + func (x *MCSessionUnion) GetMcss() *MCServerSession + func (x *MCSessionUnion) ProtoReflect() protoreflect.Message + func (x *MCSessionUnion) Reset() + func (x *MCSessionUnion) String() string + type SSPacketBroadcast struct + Data []byte + PacketId int32 + SessParam *BCSessionUnion + func (*SSPacketBroadcast) Descriptor() ([]byte, []int) + func (*SSPacketBroadcast) ProtoMessage() + func (x *SSPacketBroadcast) GetData() []byte + func (x *SSPacketBroadcast) GetPacketId() int32 + func (x *SSPacketBroadcast) GetSessParam() *BCSessionUnion + func (x *SSPacketBroadcast) ProtoReflect() protoreflect.Message + func (x *SSPacketBroadcast) Reset() + func (x *SSPacketBroadcast) String() string + type SSPacketMulticast struct + Data []byte + PacketId int32 + Sessions []*MCSessionUnion + func (*SSPacketMulticast) Descriptor() ([]byte, []int) + func (*SSPacketMulticast) ProtoMessage() + func (x *SSPacketMulticast) GetData() []byte + func (x *SSPacketMulticast) GetPacketId() int32 + func (x *SSPacketMulticast) GetSessions() []*MCSessionUnion + func (x *SSPacketMulticast) ProtoReflect() protoreflect.Message + func (x *SSPacketMulticast) Reset() + func (x *SSPacketMulticast) String() string + type SSPacketRedirect struct + ClientSid int64 + Data []byte + PacketId int32 + SrvRoutes []*SrvInfo + func (*SSPacketRedirect) Descriptor() ([]byte, []int) + func (*SSPacketRedirect) ProtoMessage() + func (x *SSPacketRedirect) GetClientSid() int64 + func (x *SSPacketRedirect) GetData() []byte + func (x *SSPacketRedirect) GetPacketId() int32 + func (x *SSPacketRedirect) GetSrvRoutes() []*SrvInfo + func (x *SSPacketRedirect) ProtoReflect() protoreflect.Message + func (x *SSPacketRedirect) Reset() + func (x *SSPacketRedirect) String() string + type SSPacketTransit struct + Data []byte + PacketId int32 + SArea int32 + SId int32 + SType int32 + func (*SSPacketTransit) Descriptor() ([]byte, []int) + func (*SSPacketTransit) ProtoMessage() + func (x *SSPacketTransit) GetData() []byte + func (x *SSPacketTransit) GetPacketId() int32 + func (x *SSPacketTransit) GetSArea() int32 + func (x *SSPacketTransit) GetSId() int32 + func (x *SSPacketTransit) GetSType() int32 + func (x *SSPacketTransit) ProtoReflect() protoreflect.Message + func (x *SSPacketTransit) Reset() + func (x *SSPacketTransit) String() string + type SSServiceInfo struct + Service *ServiceInfo + func (*SSServiceInfo) Descriptor() ([]byte, []int) + func (*SSServiceInfo) ProtoMessage() + func (x *SSServiceInfo) GetService() *ServiceInfo + func (x *SSServiceInfo) ProtoReflect() protoreflect.Message + func (x *SSServiceInfo) Reset() + func (x *SSServiceInfo) String() string + type SSServiceRegiste struct + Services []*ServiceInfo + func (*SSServiceRegiste) Descriptor() ([]byte, []int) + func (*SSServiceRegiste) ProtoMessage() + func (x *SSServiceRegiste) GetServices() []*ServiceInfo + func (x *SSServiceRegiste) ProtoReflect() protoreflect.Message + func (x *SSServiceRegiste) Reset() + func (x *SSServiceRegiste) String() string + type SSServiceShut struct + Service *ServiceInfo + func (*SSServiceShut) Descriptor() ([]byte, []int) + func (*SSServiceShut) ProtoMessage() + func (x *SSServiceShut) GetService() *ServiceInfo + func (x *SSServiceShut) ProtoReflect() protoreflect.Message + func (x *SSServiceShut) Reset() + func (x *SSServiceShut) String() string + type SSSrvRegiste struct + AreaId int32 + Data string + Id int32 + Name string + Type int32 + func (*SSSrvRegiste) Descriptor() ([]byte, []int) + func (*SSSrvRegiste) ProtoMessage() + func (x *SSSrvRegiste) GetAreaId() int32 + func (x *SSSrvRegiste) GetData() string + func (x *SSSrvRegiste) GetId() int32 + func (x *SSSrvRegiste) GetName() string + func (x *SSSrvRegiste) GetType() int32 + func (x *SSSrvRegiste) ProtoReflect() protoreflect.Message + func (x *SSSrvRegiste) Reset() + func (x *SSSrvRegiste) String() string + type ServiceInfo struct + AllowMultiConn bool + AreaId int32 + AuthKey string + DecoderName string + EncoderName string + FilterChain []string + HandlerChain []string + IdleTimeOut int32 + Ip string + IsAuth bool + IsAutoReconn bool + IsInnerLink bool + KeepAlive bool + MaxDone int32 + MaxPacket int32 + MaxPend int32 + NetworkType string + NoDelay bool + OuterIp string + Path string + Port int32 + Protocol string + RcvBuff int32 + ReadTimeOut int32 + SndBuff int32 + SoLinger int32 + SrvId int32 + SrvName string + SrvPID int32 + SrvType int32 + SupportFragment bool + WriteTimeOut int32 + func (*ServiceInfo) Descriptor() ([]byte, []int) + func (*ServiceInfo) ProtoMessage() + func (x *ServiceInfo) GetAllowMultiConn() bool + func (x *ServiceInfo) GetAreaId() int32 + func (x *ServiceInfo) GetAuthKey() string + func (x *ServiceInfo) GetDecoderName() string + func (x *ServiceInfo) GetEncoderName() string + func (x *ServiceInfo) GetFilterChain() []string + func (x *ServiceInfo) GetHandlerChain() []string + func (x *ServiceInfo) GetIdleTimeOut() int32 + func (x *ServiceInfo) GetIp() string + func (x *ServiceInfo) GetIsAuth() bool + func (x *ServiceInfo) GetIsAutoReconn() bool + func (x *ServiceInfo) GetIsInnerLink() bool + func (x *ServiceInfo) GetKeepAlive() bool + func (x *ServiceInfo) GetMaxDone() int32 + func (x *ServiceInfo) GetMaxPacket() int32 + func (x *ServiceInfo) GetMaxPend() int32 + func (x *ServiceInfo) GetNetworkType() string + func (x *ServiceInfo) GetNoDelay() bool + func (x *ServiceInfo) GetOuterIp() string + func (x *ServiceInfo) GetPath() string + func (x *ServiceInfo) GetPort() int32 + func (x *ServiceInfo) GetProtocol() string + func (x *ServiceInfo) GetRcvBuff() int32 + func (x *ServiceInfo) GetReadTimeOut() int32 + func (x *ServiceInfo) GetSndBuff() int32 + func (x *ServiceInfo) GetSoLinger() int32 + func (x *ServiceInfo) GetSrvId() int32 + func (x *ServiceInfo) GetSrvName() string + func (x *ServiceInfo) GetSrvPID() int32 + func (x *ServiceInfo) GetSrvType() int32 + func (x *ServiceInfo) GetSupportFragment() bool + func (x *ServiceInfo) GetWriteTimeOut() int32 + func (x *ServiceInfo) ProtoReflect() protoreflect.Message + func (x *ServiceInfo) Reset() + func (x *ServiceInfo) String() string + type SrvInfo struct + SArea int32 + SId int32 + SType int32 + func (*SrvInfo) Descriptor() ([]byte, []int) + func (*SrvInfo) ProtoMessage() + func (x *SrvInfo) GetSArea() int32 + func (x *SrvInfo) GetSId() int32 + func (x *SrvInfo) GetSType() int32 + func (x *SrvInfo) ProtoReflect() protoreflect.Message + func (x *SrvInfo) Reset() + func (x *SrvInfo) String() string + type SrvlibPacketID int32 + const SrvlibPacketID_PACKET_SRVLIB_UNKNOW + const SrvlibPacketID_PACKET_SS_BROADCAST + const SrvlibPacketID_PACKET_SS_MULTICAST + const SrvlibPacketID_PACKET_SS_REDIRECT + const SrvlibPacketID_PACKET_SS_REGISTE + const SrvlibPacketID_PACKET_SS_SERVICE_INFO + const SrvlibPacketID_PACKET_SS_SERVICE_REGISTE + const SrvlibPacketID_PACKET_SS_SERVICE_SHUT + const SrvlibPacketID_PACKET_SS_TRANSIT + func (SrvlibPacketID) Descriptor() protoreflect.EnumDescriptor + func (SrvlibPacketID) EnumDescriptor() ([]byte, []int) + func (SrvlibPacketID) Type() protoreflect.EnumType + func (x SrvlibPacketID) Enum() *SrvlibPacketID + func (x SrvlibPacketID) Number() protoreflect.EnumNumber + func (x SrvlibPacketID) String() string