protocol

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SrvlibPacketID_name = map[int32]string{
		0:     "PACKET_SRVLIB_UNKNOW",
		-2000: "PACKET_SS_REGISTE",
		-2001: "PACKET_SS_MULTICAST",
		-2002: "PACKET_SS_BROADCAST",
		-2003: "PACKET_SS_TRANSIT",
		-2004: "PACKET_SS_REDIRECT",
		-2005: "PACKET_SS_SERVICE_REGISTE",
		-2006: "PACKET_SS_SERVICE_INFO",
		-2007: "PACKET_SS_SERVICE_SHUT",
	}
	SrvlibPacketID_value = map[string]int32{
		"PACKET_SRVLIB_UNKNOW":      0,
		"PACKET_SS_REGISTE":         -2000,
		"PACKET_SS_MULTICAST":       -2001,
		"PACKET_SS_BROADCAST":       -2002,
		"PACKET_SS_TRANSIT":         -2003,
		"PACKET_SS_REDIRECT":        -2004,
		"PACKET_SS_SERVICE_REGISTE": -2005,
		"PACKET_SS_SERVICE_INFO":    -2006,
		"PACKET_SS_SERVICE_SHUT":    -2007,
	}
)

Enum value maps for SrvlibPacketID.

View Source
var File_broadcast_proto protoreflect.FileDescriptor
View Source
var File_multicast_proto protoreflect.FileDescriptor
View Source
var File_redirect_proto protoreflect.FileDescriptor
View Source
var File_serviceinfo_proto protoreflect.FileDescriptor
View Source
var File_srvlibpacketid_proto protoreflect.FileDescriptor
View Source
var File_srvregiste_proto protoreflect.FileDescriptor
View Source
var File_transit_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BCClientSession

type BCClientSession struct {
	Dummy bool `protobuf:"varint,1,opt,name=Dummy,proto3" json:"Dummy,omitempty"`
	// contains filtered or unexported fields
}

func (*BCClientSession) Descriptor deprecated

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

Deprecated: Use BCClientSession.ProtoReflect.Descriptor instead.

func (*BCClientSession) GetDummy

func (x *BCClientSession) GetDummy() bool

func (*BCClientSession) ProtoMessage

func (*BCClientSession) ProtoMessage()

func (*BCClientSession) ProtoReflect

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

func (*BCClientSession) Reset

func (x *BCClientSession) Reset()

func (*BCClientSession) String

func (x *BCClientSession) String() string

type BCServerSession

type BCServerSession struct {
	SArea int32 `protobuf:"varint,1,opt,name=SArea,proto3" json:"SArea,omitempty"`
	SType int32 `protobuf:"varint,2,opt,name=SType,proto3" json:"SType,omitempty"`
	// contains filtered or unexported fields
}

func (*BCServerSession) Descriptor deprecated

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

Deprecated: Use BCServerSession.ProtoReflect.Descriptor instead.

func (*BCServerSession) GetSArea

func (x *BCServerSession) GetSArea() int32

func (*BCServerSession) GetSType

func (x *BCServerSession) GetSType() int32

func (*BCServerSession) ProtoMessage

func (*BCServerSession) ProtoMessage()

func (*BCServerSession) ProtoReflect

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

func (*BCServerSession) Reset

func (x *BCServerSession) Reset()

func (*BCServerSession) String

func (x *BCServerSession) String() string

type BCSessionUnion

type BCSessionUnion struct {
	Bccs *BCClientSession `protobuf:"bytes,1,opt,name=Bccs,proto3" json:"Bccs,omitempty"`
	Bcss *BCServerSession `protobuf:"bytes,2,opt,name=Bcss,proto3" json:"Bcss,omitempty"`
	// contains filtered or unexported fields
}

func (*BCSessionUnion) Descriptor deprecated

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

Deprecated: Use BCSessionUnion.ProtoReflect.Descriptor instead.

func (*BCSessionUnion) GetBccs

func (x *BCSessionUnion) GetBccs() *BCClientSession

func (*BCSessionUnion) GetBcss

func (x *BCSessionUnion) GetBcss() *BCServerSession

func (*BCSessionUnion) ProtoMessage

func (*BCSessionUnion) ProtoMessage()

func (*BCSessionUnion) ProtoReflect

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

func (*BCSessionUnion) Reset

func (x *BCSessionUnion) Reset()

func (*BCSessionUnion) String

func (x *BCSessionUnion) String() string

type MCClientSession

type MCClientSession struct {
	SId int64 `protobuf:"varint,1,opt,name=SId,proto3" json:"SId,omitempty"`
	// contains filtered or unexported fields
}

func (*MCClientSession) Descriptor deprecated

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

Deprecated: Use MCClientSession.ProtoReflect.Descriptor instead.

func (*MCClientSession) GetSId

func (x *MCClientSession) GetSId() int64

func (*MCClientSession) ProtoMessage

func (*MCClientSession) ProtoMessage()

func (*MCClientSession) ProtoReflect

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

func (*MCClientSession) Reset

func (x *MCClientSession) Reset()

func (*MCClientSession) String

func (x *MCClientSession) String() string

type MCServerSession

type MCServerSession struct {
	SArea int32 `protobuf:"varint,1,opt,name=SArea,proto3" json:"SArea,omitempty"`
	SType int32 `protobuf:"varint,2,opt,name=SType,proto3" json:"SType,omitempty"`
	SId   int32 `protobuf:"varint,3,opt,name=SId,proto3" json:"SId,omitempty"`
	// contains filtered or unexported fields
}

func (*MCServerSession) Descriptor deprecated

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

Deprecated: Use MCServerSession.ProtoReflect.Descriptor instead.

func (*MCServerSession) GetSArea

func (x *MCServerSession) GetSArea() int32

func (*MCServerSession) GetSId

func (x *MCServerSession) GetSId() int32

func (*MCServerSession) GetSType

func (x *MCServerSession) GetSType() int32

func (*MCServerSession) ProtoMessage

func (*MCServerSession) ProtoMessage()

func (*MCServerSession) ProtoReflect

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

func (*MCServerSession) Reset

func (x *MCServerSession) Reset()

func (*MCServerSession) String

func (x *MCServerSession) String() string

type MCSessionUnion

type MCSessionUnion struct {
	Mccs *MCClientSession `protobuf:"bytes,1,opt,name=Mccs,proto3" json:"Mccs,omitempty"`
	Mcss *MCServerSession `protobuf:"bytes,2,opt,name=Mcss,proto3" json:"Mcss,omitempty"`
	// contains filtered or unexported fields
}

func (*MCSessionUnion) Descriptor deprecated

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

Deprecated: Use MCSessionUnion.ProtoReflect.Descriptor instead.

func (*MCSessionUnion) GetMccs

func (x *MCSessionUnion) GetMccs() *MCClientSession

func (*MCSessionUnion) GetMcss

func (x *MCSessionUnion) GetMcss() *MCServerSession

func (*MCSessionUnion) ProtoMessage

func (*MCSessionUnion) ProtoMessage()

func (*MCSessionUnion) ProtoReflect

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

func (*MCSessionUnion) Reset

func (x *MCSessionUnion) Reset()

func (*MCSessionUnion) String

func (x *MCSessionUnion) String() string

type SSPacketBroadcast

type SSPacketBroadcast struct {
	SessParam *BCSessionUnion `protobuf:"bytes,1,opt,name=SessParam,proto3" json:"SessParam,omitempty"`
	PacketId  int32           `protobuf:"varint,2,opt,name=PacketId,proto3" json:"PacketId,omitempty"`
	Data      []byte          `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*SSPacketBroadcast) Descriptor deprecated

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

Deprecated: Use SSPacketBroadcast.ProtoReflect.Descriptor instead.

func (*SSPacketBroadcast) GetData

func (x *SSPacketBroadcast) GetData() []byte

func (*SSPacketBroadcast) GetPacketId

func (x *SSPacketBroadcast) GetPacketId() int32

func (*SSPacketBroadcast) GetSessParam

func (x *SSPacketBroadcast) GetSessParam() *BCSessionUnion

func (*SSPacketBroadcast) ProtoMessage

func (*SSPacketBroadcast) ProtoMessage()

func (*SSPacketBroadcast) ProtoReflect

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

func (*SSPacketBroadcast) Reset

func (x *SSPacketBroadcast) Reset()

func (*SSPacketBroadcast) String

func (x *SSPacketBroadcast) String() string

type SSPacketMulticast

type SSPacketMulticast struct {
	Sessions []*MCSessionUnion `protobuf:"bytes,1,rep,name=Sessions,proto3" json:"Sessions,omitempty"`
	PacketId int32             `protobuf:"varint,2,opt,name=PacketId,proto3" json:"PacketId,omitempty"`
	Data     []byte            `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*SSPacketMulticast) Descriptor deprecated

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

Deprecated: Use SSPacketMulticast.ProtoReflect.Descriptor instead.

func (*SSPacketMulticast) GetData

func (x *SSPacketMulticast) GetData() []byte

func (*SSPacketMulticast) GetPacketId

func (x *SSPacketMulticast) GetPacketId() int32

func (*SSPacketMulticast) GetSessions

func (x *SSPacketMulticast) GetSessions() []*MCSessionUnion

func (*SSPacketMulticast) ProtoMessage

func (*SSPacketMulticast) ProtoMessage()

func (*SSPacketMulticast) ProtoReflect

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

func (*SSPacketMulticast) Reset

func (x *SSPacketMulticast) Reset()

func (*SSPacketMulticast) String

func (x *SSPacketMulticast) String() string

type SSPacketRedirect

type SSPacketRedirect struct {
	ClientSid int64      `protobuf:"varint,1,opt,name=ClientSid,proto3" json:"ClientSid,omitempty"`
	SrvRoutes []*SrvInfo `protobuf:"bytes,2,rep,name=SrvRoutes,proto3" json:"SrvRoutes,omitempty"`
	PacketId  int32      `protobuf:"varint,3,opt,name=PacketId,proto3" json:"PacketId,omitempty"`
	Data      []byte     `protobuf:"bytes,4,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*SSPacketRedirect) Descriptor deprecated

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

Deprecated: Use SSPacketRedirect.ProtoReflect.Descriptor instead.

func (*SSPacketRedirect) GetClientSid

func (x *SSPacketRedirect) GetClientSid() int64

func (*SSPacketRedirect) GetData

func (x *SSPacketRedirect) GetData() []byte

func (*SSPacketRedirect) GetPacketId

func (x *SSPacketRedirect) GetPacketId() int32

func (*SSPacketRedirect) GetSrvRoutes

func (x *SSPacketRedirect) GetSrvRoutes() []*SrvInfo

func (*SSPacketRedirect) ProtoMessage

func (*SSPacketRedirect) ProtoMessage()

func (*SSPacketRedirect) ProtoReflect

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

func (*SSPacketRedirect) Reset

func (x *SSPacketRedirect) Reset()

func (*SSPacketRedirect) String

func (x *SSPacketRedirect) String() string

type SSPacketTransit

type SSPacketTransit struct {
	SArea    int32  `protobuf:"varint,1,opt,name=SArea,proto3" json:"SArea,omitempty"`
	SType    int32  `protobuf:"varint,2,opt,name=SType,proto3" json:"SType,omitempty"`
	SId      int32  `protobuf:"varint,3,opt,name=SId,proto3" json:"SId,omitempty"`
	PacketId int32  `protobuf:"varint,4,opt,name=PacketId,proto3" json:"PacketId,omitempty"`
	Data     []byte `protobuf:"bytes,5,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*SSPacketTransit) Descriptor deprecated

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

Deprecated: Use SSPacketTransit.ProtoReflect.Descriptor instead.

func (*SSPacketTransit) GetData

func (x *SSPacketTransit) GetData() []byte

func (*SSPacketTransit) GetPacketId

func (x *SSPacketTransit) GetPacketId() int32

func (*SSPacketTransit) GetSArea

func (x *SSPacketTransit) GetSArea() int32

func (*SSPacketTransit) GetSId

func (x *SSPacketTransit) GetSId() int32

func (*SSPacketTransit) GetSType

func (x *SSPacketTransit) GetSType() int32

func (*SSPacketTransit) ProtoMessage

func (*SSPacketTransit) ProtoMessage()

func (*SSPacketTransit) ProtoReflect

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

func (*SSPacketTransit) Reset

func (x *SSPacketTransit) Reset()

func (*SSPacketTransit) String

func (x *SSPacketTransit) String() string

type SSServiceInfo

type SSServiceInfo struct {
	Service *ServiceInfo `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
	// contains filtered or unexported fields
}

func (*SSServiceInfo) Descriptor deprecated

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

Deprecated: Use SSServiceInfo.ProtoReflect.Descriptor instead.

func (*SSServiceInfo) GetService

func (x *SSServiceInfo) GetService() *ServiceInfo

func (*SSServiceInfo) ProtoMessage

func (*SSServiceInfo) ProtoMessage()

func (*SSServiceInfo) ProtoReflect

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

func (*SSServiceInfo) Reset

func (x *SSServiceInfo) Reset()

func (*SSServiceInfo) String

func (x *SSServiceInfo) String() string

type SSServiceRegiste

type SSServiceRegiste struct {
	Services []*ServiceInfo `protobuf:"bytes,1,rep,name=Services,proto3" json:"Services,omitempty"`
	// contains filtered or unexported fields
}

func (*SSServiceRegiste) Descriptor deprecated

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

Deprecated: Use SSServiceRegiste.ProtoReflect.Descriptor instead.

func (*SSServiceRegiste) GetServices

func (x *SSServiceRegiste) GetServices() []*ServiceInfo

func (*SSServiceRegiste) ProtoMessage

func (*SSServiceRegiste) ProtoMessage()

func (*SSServiceRegiste) ProtoReflect

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

func (*SSServiceRegiste) Reset

func (x *SSServiceRegiste) Reset()

func (*SSServiceRegiste) String

func (x *SSServiceRegiste) String() string

type SSServiceShut

type SSServiceShut struct {
	Service *ServiceInfo `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"`
	// contains filtered or unexported fields
}

func (*SSServiceShut) Descriptor deprecated

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

Deprecated: Use SSServiceShut.ProtoReflect.Descriptor instead.

func (*SSServiceShut) GetService

func (x *SSServiceShut) GetService() *ServiceInfo

func (*SSServiceShut) ProtoMessage

func (*SSServiceShut) ProtoMessage()

func (*SSServiceShut) ProtoReflect

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

func (*SSServiceShut) Reset

func (x *SSServiceShut) Reset()

func (*SSServiceShut) String

func (x *SSServiceShut) String() string

type SSSrvRegiste

type SSSrvRegiste struct {
	Id     int32  `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Type   int32  `protobuf:"varint,2,opt,name=Type,proto3" json:"Type,omitempty"`
	AreaId int32  `protobuf:"varint,3,opt,name=AreaId,proto3" json:"AreaId,omitempty"`
	Name   string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"`
	Data   string `protobuf:"bytes,5,opt,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*SSSrvRegiste) Descriptor deprecated

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

Deprecated: Use SSSrvRegiste.ProtoReflect.Descriptor instead.

func (*SSSrvRegiste) GetAreaId

func (x *SSSrvRegiste) GetAreaId() int32

func (*SSSrvRegiste) GetData

func (x *SSSrvRegiste) GetData() string

func (*SSSrvRegiste) GetId

func (x *SSSrvRegiste) GetId() int32

func (*SSSrvRegiste) GetName

func (x *SSSrvRegiste) GetName() string

func (*SSSrvRegiste) GetType

func (x *SSSrvRegiste) GetType() int32

func (*SSSrvRegiste) ProtoMessage

func (*SSSrvRegiste) ProtoMessage()

func (*SSSrvRegiste) ProtoReflect

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

func (*SSSrvRegiste) Reset

func (x *SSSrvRegiste) Reset()

func (*SSSrvRegiste) String

func (x *SSSrvRegiste) String() string

type ServiceInfo

type ServiceInfo struct {
	AreaId          int32    `protobuf:"varint,1,opt,name=AreaId,proto3" json:"AreaId,omitempty"`
	SrvId           int32    `protobuf:"varint,2,opt,name=SrvId,proto3" json:"SrvId,omitempty"`
	SrvType         int32    `protobuf:"varint,3,opt,name=SrvType,proto3" json:"SrvType,omitempty"`
	SrvPID          int32    `protobuf:"varint,4,opt,name=SrvPID,proto3" json:"SrvPID,omitempty"`
	SrvName         string   `protobuf:"bytes,5,opt,name=SrvName,proto3" json:"SrvName,omitempty"`
	NetworkType     string   `protobuf:"bytes,6,opt,name=NetworkType,proto3" json:"NetworkType,omitempty"`
	Ip              string   `protobuf:"bytes,7,opt,name=Ip,proto3" json:"Ip,omitempty"`
	Port            int32    `protobuf:"varint,8,opt,name=Port,proto3" json:"Port,omitempty"`
	WriteTimeOut    int32    `protobuf:"varint,9,opt,name=WriteTimeOut,proto3" json:"WriteTimeOut,omitempty"`
	ReadTimeOut     int32    `protobuf:"varint,10,opt,name=ReadTimeOut,proto3" json:"ReadTimeOut,omitempty"`
	IdleTimeOut     int32    `protobuf:"varint,11,opt,name=IdleTimeOut,proto3" json:"IdleTimeOut,omitempty"`
	MaxDone         int32    `protobuf:"varint,12,opt,name=MaxDone,proto3" json:"MaxDone,omitempty"`
	MaxPend         int32    `protobuf:"varint,13,opt,name=MaxPend,proto3" json:"MaxPend,omitempty"`
	MaxPacket       int32    `protobuf:"varint,14,opt,name=MaxPacket,proto3" json:"MaxPacket,omitempty"`
	RcvBuff         int32    `protobuf:"varint,15,opt,name=RcvBuff,proto3" json:"RcvBuff,omitempty"`
	SndBuff         int32    `protobuf:"varint,16,opt,name=SndBuff,proto3" json:"SndBuff,omitempty"`
	SoLinger        int32    `protobuf:"varint,17,opt,name=SoLinger,proto3" json:"SoLinger,omitempty"`
	IsAuth          bool     `protobuf:"varint,18,opt,name=IsAuth,proto3" json:"IsAuth,omitempty"`
	KeepAlive       bool     `protobuf:"varint,19,opt,name=KeepAlive,proto3" json:"KeepAlive,omitempty"`
	NoDelay         bool     `protobuf:"varint,20,opt,name=NoDelay,proto3" json:"NoDelay,omitempty"`
	IsAutoReconn    bool     `protobuf:"varint,21,opt,name=IsAutoReconn,proto3" json:"IsAutoReconn,omitempty"`
	IsInnerLink     bool     `protobuf:"varint,22,opt,name=IsInnerLink,proto3" json:"IsInnerLink,omitempty"`
	SupportFragment bool     `protobuf:"varint,23,opt,name=SupportFragment,proto3" json:"SupportFragment,omitempty"`
	AllowMultiConn  bool     `protobuf:"varint,24,opt,name=AllowMultiConn,proto3" json:"AllowMultiConn,omitempty"`
	AuthKey         string   `protobuf:"bytes,25,opt,name=AuthKey,proto3" json:"AuthKey,omitempty"`
	EncoderName     string   `protobuf:"bytes,26,opt,name=EncoderName,proto3" json:"EncoderName,omitempty"`
	DecoderName     string   `protobuf:"bytes,27,opt,name=DecoderName,proto3" json:"DecoderName,omitempty"`
	FilterChain     []string `protobuf:"bytes,28,rep,name=FilterChain,proto3" json:"FilterChain,omitempty"`
	HandlerChain    []string `protobuf:"bytes,29,rep,name=HandlerChain,proto3" json:"HandlerChain,omitempty"`
	Protocol        string   `protobuf:"bytes,30,opt,name=Protocol,proto3" json:"Protocol,omitempty"`
	Path            string   `protobuf:"bytes,31,opt,name=Path,proto3" json:"Path,omitempty"`
	OuterIp         string   `protobuf:"bytes,32,opt,name=OuterIp,proto3" json:"OuterIp,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceInfo) Descriptor deprecated

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

Deprecated: Use ServiceInfo.ProtoReflect.Descriptor instead.

func (*ServiceInfo) GetAllowMultiConn

func (x *ServiceInfo) GetAllowMultiConn() bool

func (*ServiceInfo) GetAreaId

func (x *ServiceInfo) GetAreaId() int32

func (*ServiceInfo) GetAuthKey

func (x *ServiceInfo) GetAuthKey() string

func (*ServiceInfo) GetDecoderName

func (x *ServiceInfo) GetDecoderName() string

func (*ServiceInfo) GetEncoderName

func (x *ServiceInfo) GetEncoderName() string

func (*ServiceInfo) GetFilterChain

func (x *ServiceInfo) GetFilterChain() []string

func (*ServiceInfo) GetHandlerChain

func (x *ServiceInfo) GetHandlerChain() []string

func (*ServiceInfo) GetIdleTimeOut

func (x *ServiceInfo) GetIdleTimeOut() int32

func (*ServiceInfo) GetIp

func (x *ServiceInfo) GetIp() string

func (*ServiceInfo) GetIsAuth

func (x *ServiceInfo) GetIsAuth() bool

func (*ServiceInfo) GetIsAutoReconn

func (x *ServiceInfo) GetIsAutoReconn() bool
func (x *ServiceInfo) GetIsInnerLink() bool

func (*ServiceInfo) GetKeepAlive

func (x *ServiceInfo) GetKeepAlive() bool

func (*ServiceInfo) GetMaxDone

func (x *ServiceInfo) GetMaxDone() int32

func (*ServiceInfo) GetMaxPacket

func (x *ServiceInfo) GetMaxPacket() int32

func (*ServiceInfo) GetMaxPend

func (x *ServiceInfo) GetMaxPend() int32

func (*ServiceInfo) GetNetworkType

func (x *ServiceInfo) GetNetworkType() string

func (*ServiceInfo) GetNoDelay

func (x *ServiceInfo) GetNoDelay() bool

func (*ServiceInfo) GetOuterIp

func (x *ServiceInfo) GetOuterIp() string

func (*ServiceInfo) GetPath

func (x *ServiceInfo) GetPath() string

func (*ServiceInfo) GetPort

func (x *ServiceInfo) GetPort() int32

func (*ServiceInfo) GetProtocol

func (x *ServiceInfo) GetProtocol() string

func (*ServiceInfo) GetRcvBuff

func (x *ServiceInfo) GetRcvBuff() int32

func (*ServiceInfo) GetReadTimeOut

func (x *ServiceInfo) GetReadTimeOut() int32

func (*ServiceInfo) GetSndBuff

func (x *ServiceInfo) GetSndBuff() int32

func (*ServiceInfo) GetSoLinger

func (x *ServiceInfo) GetSoLinger() int32

func (*ServiceInfo) GetSrvId

func (x *ServiceInfo) GetSrvId() int32

func (*ServiceInfo) GetSrvName

func (x *ServiceInfo) GetSrvName() string

func (*ServiceInfo) GetSrvPID

func (x *ServiceInfo) GetSrvPID() int32

func (*ServiceInfo) GetSrvType

func (x *ServiceInfo) GetSrvType() int32

func (*ServiceInfo) GetSupportFragment

func (x *ServiceInfo) GetSupportFragment() bool

func (*ServiceInfo) GetWriteTimeOut

func (x *ServiceInfo) GetWriteTimeOut() int32

func (*ServiceInfo) ProtoMessage

func (*ServiceInfo) ProtoMessage()

func (*ServiceInfo) ProtoReflect

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

func (*ServiceInfo) Reset

func (x *ServiceInfo) Reset()

func (*ServiceInfo) String

func (x *ServiceInfo) String() string

type SrvInfo

type SrvInfo struct {
	SArea int32 `protobuf:"varint,1,opt,name=SArea,proto3" json:"SArea,omitempty"`
	SType int32 `protobuf:"varint,2,opt,name=SType,proto3" json:"SType,omitempty"`
	SId   int32 `protobuf:"varint,3,opt,name=SId,proto3" json:"SId,omitempty"`
	// contains filtered or unexported fields
}

func (*SrvInfo) Descriptor deprecated

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

Deprecated: Use SrvInfo.ProtoReflect.Descriptor instead.

func (*SrvInfo) GetSArea

func (x *SrvInfo) GetSArea() int32

func (*SrvInfo) GetSId

func (x *SrvInfo) GetSId() int32

func (*SrvInfo) GetSType

func (x *SrvInfo) GetSType() int32

func (*SrvInfo) ProtoMessage

func (*SrvInfo) ProtoMessage()

func (*SrvInfo) ProtoReflect

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

func (*SrvInfo) Reset

func (x *SrvInfo) Reset()

func (*SrvInfo) String

func (x *SrvInfo) String() string

type SrvlibPacketID

type SrvlibPacketID int32
const (
	SrvlibPacketID_PACKET_SRVLIB_UNKNOW      SrvlibPacketID = 0
	SrvlibPacketID_PACKET_SS_REGISTE         SrvlibPacketID = -2000
	SrvlibPacketID_PACKET_SS_MULTICAST       SrvlibPacketID = -2001
	SrvlibPacketID_PACKET_SS_BROADCAST       SrvlibPacketID = -2002
	SrvlibPacketID_PACKET_SS_TRANSIT         SrvlibPacketID = -2003
	SrvlibPacketID_PACKET_SS_REDIRECT        SrvlibPacketID = -2004
	SrvlibPacketID_PACKET_SS_SERVICE_REGISTE SrvlibPacketID = -2005
	SrvlibPacketID_PACKET_SS_SERVICE_INFO    SrvlibPacketID = -2006
	SrvlibPacketID_PACKET_SS_SERVICE_SHUT    SrvlibPacketID = -2007
)

func (SrvlibPacketID) Descriptor

func (SrvlibPacketID) Enum

func (x SrvlibPacketID) Enum() *SrvlibPacketID

func (SrvlibPacketID) EnumDescriptor deprecated

func (SrvlibPacketID) EnumDescriptor() ([]byte, []int)

Deprecated: Use SrvlibPacketID.Descriptor instead.

func (SrvlibPacketID) Number

func (SrvlibPacketID) String

func (x SrvlibPacketID) String() string

func (SrvlibPacketID) Type

Jump to

Keyboard shortcuts

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