Documentation ¶
Index ¶
- Variables
- type AuthArg
- func (*AuthArg) Descriptor() ([]byte, []int)
- func (m *AuthArg) GetAccessToken() string
- func (m *AuthArg) Marshal() (dAtA []byte, err error)
- func (m *AuthArg) MarshalTo(dAtA []byte) (int, error)
- func (*AuthArg) ProtoMessage()
- func (m *AuthArg) Reset()
- func (m *AuthArg) Size() (n int)
- func (m *AuthArg) String() string
- func (m *AuthArg) Unmarshal(dAtA []byte) error
- func (m *AuthArg) XXX_DiscardUnknown()
- func (m *AuthArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthArg) XXX_Merge(src proto.Message)
- func (m *AuthArg) XXX_Size() int
- func (m *AuthArg) XXX_Unmarshal(b []byte) error
- type AuthResponse
- func (*AuthResponse) Descriptor() ([]byte, []int)
- func (m *AuthResponse) GetCode() string
- func (m *AuthResponse) GetMsg() string
- func (m *AuthResponse) GetPlayer() *Player
- func (m *AuthResponse) Marshal() (dAtA []byte, err error)
- func (m *AuthResponse) MarshalTo(dAtA []byte) (int, error)
- func (*AuthResponse) ProtoMessage()
- func (m *AuthResponse) Reset()
- func (m *AuthResponse) Size() (n int)
- func (m *AuthResponse) String() string
- func (m *AuthResponse) Unmarshal(dAtA []byte) error
- func (m *AuthResponse) XXX_DiscardUnknown()
- func (m *AuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AuthResponse) XXX_Merge(src proto.Message)
- func (m *AuthResponse) XXX_Size() int
- func (m *AuthResponse) XXX_Unmarshal(b []byte) error
- type FindMatchArg
- func (*FindMatchArg) Descriptor() ([]byte, []int)
- func (m *FindMatchArg) GetRoomType() string
- func (m *FindMatchArg) Marshal() (dAtA []byte, err error)
- func (m *FindMatchArg) MarshalTo(dAtA []byte) (int, error)
- func (*FindMatchArg) ProtoMessage()
- func (m *FindMatchArg) Reset()
- func (m *FindMatchArg) Size() (n int)
- func (m *FindMatchArg) String() string
- func (m *FindMatchArg) Unmarshal(dAtA []byte) error
- func (m *FindMatchArg) XXX_DiscardUnknown()
- func (m *FindMatchArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FindMatchArg) XXX_Merge(src proto.Message)
- func (m *FindMatchArg) XXX_Size() int
- func (m *FindMatchArg) XXX_Unmarshal(b []byte) error
- type FindMatchPush
- func (*FindMatchPush) Descriptor() ([]byte, []int)
- func (m *FindMatchPush) GetCode() string
- func (m *FindMatchPush) GetIP() string
- func (m *FindMatchPush) GetPort() int32
- func (m *FindMatchPush) Marshal() (dAtA []byte, err error)
- func (m *FindMatchPush) MarshalTo(dAtA []byte) (int, error)
- func (*FindMatchPush) ProtoMessage()
- func (m *FindMatchPush) Reset()
- func (m *FindMatchPush) Size() (n int)
- func (m *FindMatchPush) String() string
- func (m *FindMatchPush) Unmarshal(dAtA []byte) error
- func (m *FindMatchPush) XXX_DiscardUnknown()
- func (m *FindMatchPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FindMatchPush) XXX_Merge(src proto.Message)
- func (m *FindMatchPush) XXX_Size() int
- func (m *FindMatchPush) XXX_Unmarshal(b []byte) error
- type FindMatchResponse
- func (*FindMatchResponse) Descriptor() ([]byte, []int)
- func (m *FindMatchResponse) GetCode() string
- func (m *FindMatchResponse) GetMsg() string
- func (m *FindMatchResponse) Marshal() (dAtA []byte, err error)
- func (m *FindMatchResponse) MarshalTo(dAtA []byte) (int, error)
- func (*FindMatchResponse) ProtoMessage()
- func (m *FindMatchResponse) Reset()
- func (m *FindMatchResponse) Size() (n int)
- func (m *FindMatchResponse) String() string
- func (m *FindMatchResponse) Unmarshal(dAtA []byte) error
- func (m *FindMatchResponse) XXX_DiscardUnknown()
- func (m *FindMatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FindMatchResponse) XXX_Merge(src proto.Message)
- func (m *FindMatchResponse) XXX_Size() int
- func (m *FindMatchResponse) XXX_Unmarshal(b []byte) error
- type Player
- func (*Player) Descriptor() ([]byte, []int)
- func (m *Player) GetAccessToken() string
- func (m *Player) GetName() string
- func (m *Player) GetPrivateID() string
- func (m *Player) GetSoftCurrency() int32
- func (m *Player) GetTrophies() int32
- func (m *Player) Marshal() (dAtA []byte, err error)
- func (m *Player) MarshalTo(dAtA []byte) (int, error)
- func (*Player) ProtoMessage()
- func (m *Player) Reset()
- func (m *Player) Size() (n int)
- func (m *Player) String() string
- func (m *Player) Unmarshal(dAtA []byte) error
- func (m *Player) XXX_DiscardUnknown()
- func (m *Player) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Player) XXX_Merge(src proto.Message)
- func (m *Player) XXX_Size() int
- func (m *Player) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthExample = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExample = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type AuthArg ¶
type AuthArg struct {
AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
}
func (*AuthArg) Descriptor ¶
func (*AuthArg) GetAccessToken ¶
func (*AuthArg) ProtoMessage ¶
func (*AuthArg) ProtoMessage()
func (*AuthArg) XXX_DiscardUnknown ¶
func (m *AuthArg) XXX_DiscardUnknown()
func (*AuthArg) XXX_Marshal ¶
func (*AuthArg) XXX_Unmarshal ¶
type AuthResponse ¶
type AuthResponse struct { Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` Player *Player `protobuf:"bytes,3,opt,name=Player" json:"Player,omitempty"` }
func (*AuthResponse) Descriptor ¶
func (*AuthResponse) Descriptor() ([]byte, []int)
func (*AuthResponse) GetCode ¶
func (m *AuthResponse) GetCode() string
func (*AuthResponse) GetMsg ¶
func (m *AuthResponse) GetMsg() string
func (*AuthResponse) GetPlayer ¶
func (m *AuthResponse) GetPlayer() *Player
func (*AuthResponse) Marshal ¶
func (m *AuthResponse) Marshal() (dAtA []byte, err error)
func (*AuthResponse) ProtoMessage ¶
func (*AuthResponse) ProtoMessage()
func (*AuthResponse) Reset ¶
func (m *AuthResponse) Reset()
func (*AuthResponse) Size ¶
func (m *AuthResponse) Size() (n int)
func (*AuthResponse) String ¶
func (m *AuthResponse) String() string
func (*AuthResponse) Unmarshal ¶
func (m *AuthResponse) Unmarshal(dAtA []byte) error
func (*AuthResponse) XXX_DiscardUnknown ¶
func (m *AuthResponse) XXX_DiscardUnknown()
func (*AuthResponse) XXX_Marshal ¶
func (m *AuthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthResponse) XXX_Merge ¶
func (dst *AuthResponse) XXX_Merge(src proto.Message)
func (*AuthResponse) XXX_Size ¶
func (m *AuthResponse) XXX_Size() int
func (*AuthResponse) XXX_Unmarshal ¶
func (m *AuthResponse) XXX_Unmarshal(b []byte) error
type FindMatchArg ¶
type FindMatchArg struct {
RoomType string `protobuf:"bytes,1,opt,name=RoomType,proto3" json:"RoomType,omitempty"`
}
func (*FindMatchArg) Descriptor ¶
func (*FindMatchArg) Descriptor() ([]byte, []int)
func (*FindMatchArg) GetRoomType ¶
func (m *FindMatchArg) GetRoomType() string
func (*FindMatchArg) Marshal ¶
func (m *FindMatchArg) Marshal() (dAtA []byte, err error)
func (*FindMatchArg) ProtoMessage ¶
func (*FindMatchArg) ProtoMessage()
func (*FindMatchArg) Reset ¶
func (m *FindMatchArg) Reset()
func (*FindMatchArg) Size ¶
func (m *FindMatchArg) Size() (n int)
func (*FindMatchArg) String ¶
func (m *FindMatchArg) String() string
func (*FindMatchArg) Unmarshal ¶
func (m *FindMatchArg) Unmarshal(dAtA []byte) error
func (*FindMatchArg) XXX_DiscardUnknown ¶
func (m *FindMatchArg) XXX_DiscardUnknown()
func (*FindMatchArg) XXX_Marshal ¶
func (m *FindMatchArg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindMatchArg) XXX_Merge ¶
func (dst *FindMatchArg) XXX_Merge(src proto.Message)
func (*FindMatchArg) XXX_Size ¶
func (m *FindMatchArg) XXX_Size() int
func (*FindMatchArg) XXX_Unmarshal ¶
func (m *FindMatchArg) XXX_Unmarshal(b []byte) error
type FindMatchPush ¶
type FindMatchPush struct { Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"` IP string `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"` Port int32 `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"` }
func (*FindMatchPush) Descriptor ¶
func (*FindMatchPush) Descriptor() ([]byte, []int)
func (*FindMatchPush) GetCode ¶
func (m *FindMatchPush) GetCode() string
func (*FindMatchPush) GetIP ¶
func (m *FindMatchPush) GetIP() string
func (*FindMatchPush) GetPort ¶
func (m *FindMatchPush) GetPort() int32
func (*FindMatchPush) Marshal ¶
func (m *FindMatchPush) Marshal() (dAtA []byte, err error)
func (*FindMatchPush) ProtoMessage ¶
func (*FindMatchPush) ProtoMessage()
func (*FindMatchPush) Reset ¶
func (m *FindMatchPush) Reset()
func (*FindMatchPush) Size ¶
func (m *FindMatchPush) Size() (n int)
func (*FindMatchPush) String ¶
func (m *FindMatchPush) String() string
func (*FindMatchPush) Unmarshal ¶
func (m *FindMatchPush) Unmarshal(dAtA []byte) error
func (*FindMatchPush) XXX_DiscardUnknown ¶
func (m *FindMatchPush) XXX_DiscardUnknown()
func (*FindMatchPush) XXX_Marshal ¶
func (m *FindMatchPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindMatchPush) XXX_Merge ¶
func (dst *FindMatchPush) XXX_Merge(src proto.Message)
func (*FindMatchPush) XXX_Size ¶
func (m *FindMatchPush) XXX_Size() int
func (*FindMatchPush) XXX_Unmarshal ¶
func (m *FindMatchPush) XXX_Unmarshal(b []byte) error
type FindMatchResponse ¶
type FindMatchResponse struct { Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"` }
func (*FindMatchResponse) Descriptor ¶
func (*FindMatchResponse) Descriptor() ([]byte, []int)
func (*FindMatchResponse) GetCode ¶
func (m *FindMatchResponse) GetCode() string
func (*FindMatchResponse) GetMsg ¶
func (m *FindMatchResponse) GetMsg() string
func (*FindMatchResponse) Marshal ¶
func (m *FindMatchResponse) Marshal() (dAtA []byte, err error)
func (*FindMatchResponse) MarshalTo ¶
func (m *FindMatchResponse) MarshalTo(dAtA []byte) (int, error)
func (*FindMatchResponse) ProtoMessage ¶
func (*FindMatchResponse) ProtoMessage()
func (*FindMatchResponse) Reset ¶
func (m *FindMatchResponse) Reset()
func (*FindMatchResponse) Size ¶
func (m *FindMatchResponse) Size() (n int)
func (*FindMatchResponse) String ¶
func (m *FindMatchResponse) String() string
func (*FindMatchResponse) Unmarshal ¶
func (m *FindMatchResponse) Unmarshal(dAtA []byte) error
func (*FindMatchResponse) XXX_DiscardUnknown ¶
func (m *FindMatchResponse) XXX_DiscardUnknown()
func (*FindMatchResponse) XXX_Marshal ¶
func (m *FindMatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindMatchResponse) XXX_Merge ¶
func (dst *FindMatchResponse) XXX_Merge(src proto.Message)
func (*FindMatchResponse) XXX_Size ¶
func (m *FindMatchResponse) XXX_Size() int
func (*FindMatchResponse) XXX_Unmarshal ¶
func (m *FindMatchResponse) XXX_Unmarshal(b []byte) error
type Player ¶
type Player struct { PrivateID string `protobuf:"bytes,1,opt,name=PrivateID,proto3" json:"PrivateID,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` SoftCurrency int32 `protobuf:"varint,4,opt,name=SoftCurrency,proto3" json:"SoftCurrency,omitempty"` Trophies int32 `protobuf:"varint,5,opt,name=Trophies,proto3" json:"Trophies,omitempty"` }
Response represents a rpc message
func (*Player) Descriptor ¶
func (*Player) GetAccessToken ¶
func (*Player) GetPrivateID ¶
func (*Player) GetSoftCurrency ¶
func (*Player) GetTrophies ¶
func (*Player) ProtoMessage ¶
func (*Player) ProtoMessage()
func (*Player) XXX_DiscardUnknown ¶
func (m *Player) XXX_DiscardUnknown()
func (*Player) XXX_Marshal ¶
func (*Player) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.