Documentation ¶
Overview ¶
Package yacs5e is a generated protocol buffer package.
It is generated from these files:
yacs5e.proto
It has these top-level messages:
TUser TCharacter TTalk Empty
Index ¶
- func RegisterYACS5EServer(s *grpc.Server, srv YACS5EServer)
- type Empty
- type TCharacter
- func (*TCharacter) Descriptor() ([]byte, []int)
- func (m *TCharacter) GetBlob() string
- func (m *TCharacter) GetDelete() bool
- func (m *TCharacter) GetLastMod() uint64
- func (m *TCharacter) GetLastSync() uint64
- func (m *TCharacter) GetUuid() string
- func (*TCharacter) ProtoMessage()
- func (m *TCharacter) Reset()
- func (m *TCharacter) String() string
- type TTalk
- func (*TTalk) Descriptor() ([]byte, []int)
- func (m *TTalk) GetCharacter() *TCharacter
- func (m *TTalk) GetGood() bool
- func (m *TTalk) GetUnion() isTTalk_Union
- func (m *TTalk) GetUser() *TUser
- func (*TTalk) ProtoMessage()
- func (m *TTalk) Reset()
- func (m *TTalk) String() string
- func (*TTalk) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type TTalk_Character
- type TTalk_Good
- type TTalk_User
- type TUser
- func (*TUser) Descriptor() ([]byte, []int)
- func (m *TUser) GetId() uint32
- func (m *TUser) GetLogin() string
- func (m *TUser) GetPassword() string
- func (m *TUser) GetRespToken() string
- func (m *TUser) GetVisibleName() string
- func (*TUser) ProtoMessage()
- func (m *TUser) Reset()
- func (m *TUser) String() string
- type YACS5EClient
- type YACS5EServer
- type YACS5E_SynchronizeClient
- type YACS5E_SynchronizeServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterYACS5EServer ¶
func RegisterYACS5EServer(s *grpc.Server, srv YACS5EServer)
Types ¶
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type TCharacter ¶
type TCharacter struct { Uuid string `protobuf:"bytes,1,opt,name=uuid" json:"uuid,omitempty"` LastSync uint64 `protobuf:"varint,2,opt,name=last_sync,json=lastSync" json:"last_sync,omitempty"` LastMod uint64 `protobuf:"varint,3,opt,name=last_mod,json=lastMod" json:"last_mod,omitempty"` Blob string `protobuf:"bytes,4,opt,name=blob" json:"blob,omitempty"` Delete bool `protobuf:"varint,5,opt,name=delete" json:"delete,omitempty"` }
func (*TCharacter) Descriptor ¶
func (*TCharacter) Descriptor() ([]byte, []int)
func (*TCharacter) GetBlob ¶
func (m *TCharacter) GetBlob() string
func (*TCharacter) GetDelete ¶
func (m *TCharacter) GetDelete() bool
func (*TCharacter) GetLastMod ¶
func (m *TCharacter) GetLastMod() uint64
func (*TCharacter) GetLastSync ¶
func (m *TCharacter) GetLastSync() uint64
func (*TCharacter) GetUuid ¶
func (m *TCharacter) GetUuid() string
func (*TCharacter) ProtoMessage ¶
func (*TCharacter) ProtoMessage()
func (*TCharacter) Reset ¶
func (m *TCharacter) Reset()
func (*TCharacter) String ¶
func (m *TCharacter) String() string
type TTalk ¶
type TTalk struct { // Types that are valid to be assigned to Union: // *TTalk_User // *TTalk_Character // *TTalk_Good Union isTTalk_Union `protobuf_oneof:"union"` }
func (*TTalk) Descriptor ¶
func (*TTalk) GetCharacter ¶
func (m *TTalk) GetCharacter() *TCharacter
func (*TTalk) ProtoMessage ¶
func (*TTalk) ProtoMessage()
type TTalk_Character ¶
type TTalk_Character struct {
Character *TCharacter `protobuf:"bytes,2,opt,name=character,oneof"`
}
type TTalk_Good ¶
type TTalk_Good struct {
Good bool `protobuf:"varint,3,opt,name=good,oneof"`
}
type TTalk_User ¶
type TTalk_User struct {
User *TUser `protobuf:"bytes,1,opt,name=user,oneof"`
}
type TUser ¶
type TUser struct { Login string `protobuf:"bytes,1,opt,name=login" json:"login,omitempty"` Password string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"` Id uint32 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"` RespToken string `protobuf:"bytes,4,opt,name=respToken" json:"respToken,omitempty"` VisibleName string `protobuf:"bytes,5,opt,name=visibleName" json:"visibleName,omitempty"` }
func (*TUser) Descriptor ¶
func (*TUser) GetPassword ¶
func (*TUser) GetRespToken ¶
func (*TUser) GetVisibleName ¶
func (*TUser) ProtoMessage ¶
func (*TUser) ProtoMessage()
type YACS5EClient ¶
type YACS5EClient interface { Registration(ctx context.Context, in *TUser, opts ...grpc.CallOption) (*Empty, error) Login(ctx context.Context, in *TUser, opts ...grpc.CallOption) (*Empty, error) Synchronize(ctx context.Context, opts ...grpc.CallOption) (YACS5E_SynchronizeClient, error) }
func NewYACS5EClient ¶
func NewYACS5EClient(cc *grpc.ClientConn) YACS5EClient
type YACS5EServer ¶
Click to show internal directories.
Click to hide internal directories.