Documentation
¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
- func RegisterCharacterServiceServer(s *grpc.Server, srv CharacterServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetId() int64
- func (m *Account) GetKeys() []*PublicKey
- func (m *Account) GetName() string
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) String() string
- func (m *Account) XXX_DiscardUnknown()
- func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Account) XXX_Merge(src proto.Message)
- func (m *Account) XXX_Size() int
- func (m *Account) XXX_Unmarshal(b []byte) error
- type AccountServiceClient
- type AccountServiceServer
- type Character
- func (*Character) Descriptor() ([]byte, []int)
- func (m *Character) GetId() int64
- func (m *Character) GetName() string
- func (*Character) ProtoMessage()
- func (m *Character) Reset()
- func (m *Character) String() string
- func (m *Character) XXX_DiscardUnknown()
- func (m *Character) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Character) XXX_Merge(src proto.Message)
- func (m *Character) XXX_Size() int
- func (m *Character) XXX_Unmarshal(b []byte) error
- type CharacterServiceClient
- type CharacterServiceServer
- type CreateCharacterRequest
- func (*CreateCharacterRequest) Descriptor() ([]byte, []int)
- func (m *CreateCharacterRequest) GetAccountId() int64
- func (m *CreateCharacterRequest) GetCharacterName() string
- func (m *CreateCharacterRequest) GetSignature() *Signature
- func (*CreateCharacterRequest) ProtoMessage()
- func (m *CreateCharacterRequest) Reset()
- func (m *CreateCharacterRequest) String() string
- func (m *CreateCharacterRequest) XXX_DiscardUnknown()
- func (m *CreateCharacterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCharacterRequest) XXX_Merge(src proto.Message)
- func (m *CreateCharacterRequest) XXX_Size() int
- func (m *CreateCharacterRequest) XXX_Unmarshal(b []byte) error
- type CreateCharacterResponse
- func (*CreateCharacterResponse) Descriptor() ([]byte, []int)
- func (m *CreateCharacterResponse) GetCharacterId() int64
- func (*CreateCharacterResponse) ProtoMessage()
- func (m *CreateCharacterResponse) Reset()
- func (m *CreateCharacterResponse) String() string
- func (m *CreateCharacterResponse) XXX_DiscardUnknown()
- func (m *CreateCharacterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCharacterResponse) XXX_Merge(src proto.Message)
- func (m *CreateCharacterResponse) XXX_Size() int
- func (m *CreateCharacterResponse) XXX_Unmarshal(b []byte) error
- type GetCharactersRequest
- func (*GetCharactersRequest) Descriptor() ([]byte, []int)
- func (m *GetCharactersRequest) GetAccountId() int64
- func (m *GetCharactersRequest) GetSignature() *Signature
- func (*GetCharactersRequest) ProtoMessage()
- func (m *GetCharactersRequest) Reset()
- func (m *GetCharactersRequest) String() string
- func (m *GetCharactersRequest) XXX_DiscardUnknown()
- func (m *GetCharactersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCharactersRequest) XXX_Merge(src proto.Message)
- func (m *GetCharactersRequest) XXX_Size() int
- func (m *GetCharactersRequest) XXX_Unmarshal(b []byte) error
- type GetCharactersResponse
- func (*GetCharactersResponse) Descriptor() ([]byte, []int)
- func (m *GetCharactersResponse) GetCharacters() []*Character
- func (*GetCharactersResponse) ProtoMessage()
- func (m *GetCharactersResponse) Reset()
- func (m *GetCharactersResponse) String() string
- func (m *GetCharactersResponse) XXX_DiscardUnknown()
- func (m *GetCharactersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCharactersResponse) XXX_Merge(src proto.Message)
- func (m *GetCharactersResponse) XXX_Size() int
- func (m *GetCharactersResponse) XXX_Unmarshal(b []byte) error
- type LoadCharacterRequest
- func (*LoadCharacterRequest) Descriptor() ([]byte, []int)
- func (m *LoadCharacterRequest) GetAccountId() int64
- func (m *LoadCharacterRequest) GetCharacterId() int64
- func (*LoadCharacterRequest) ProtoMessage()
- func (m *LoadCharacterRequest) Reset()
- func (m *LoadCharacterRequest) String() string
- func (m *LoadCharacterRequest) XXX_DiscardUnknown()
- func (m *LoadCharacterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadCharacterRequest) XXX_Merge(src proto.Message)
- func (m *LoadCharacterRequest) XXX_Size() int
- func (m *LoadCharacterRequest) XXX_Unmarshal(b []byte) error
- type LoadCharacterResponse
- func (*LoadCharacterResponse) Descriptor() ([]byte, []int)
- func (m *LoadCharacterResponse) GetCharacter() *Character
- func (*LoadCharacterResponse) ProtoMessage()
- func (m *LoadCharacterResponse) Reset()
- func (m *LoadCharacterResponse) String() string
- func (m *LoadCharacterResponse) XXX_DiscardUnknown()
- func (m *LoadCharacterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadCharacterResponse) XXX_Merge(src proto.Message)
- func (m *LoadCharacterResponse) XXX_Size() int
- func (m *LoadCharacterResponse) XXX_Unmarshal(b []byte) error
- type NewAccountRequest
- func (*NewAccountRequest) Descriptor() ([]byte, []int)
- func (m *NewAccountRequest) GetKey() *PublicKey
- func (m *NewAccountRequest) GetSig() *Signature
- func (m *NewAccountRequest) GetUsername() string
- func (*NewAccountRequest) ProtoMessage()
- func (m *NewAccountRequest) Reset()
- func (m *NewAccountRequest) String() string
- func (m *NewAccountRequest) XXX_DiscardUnknown()
- func (m *NewAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewAccountRequest) XXX_Merge(src proto.Message)
- func (m *NewAccountRequest) XXX_Size() int
- func (m *NewAccountRequest) XXX_Unmarshal(b []byte) error
- type NewAccountResponse
- func (*NewAccountResponse) Descriptor() ([]byte, []int)
- func (m *NewAccountResponse) GetUserid() int64
- func (*NewAccountResponse) ProtoMessage()
- func (m *NewAccountResponse) Reset()
- func (m *NewAccountResponse) String() string
- func (m *NewAccountResponse) XXX_DiscardUnknown()
- func (m *NewAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewAccountResponse) XXX_Merge(src proto.Message)
- func (m *NewAccountResponse) XXX_Size() int
- func (m *NewAccountResponse) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetCurve() PublicKey_EllipticCurve
- func (m *PublicKey) GetName() string
- func (m *PublicKey) GetX() string
- func (m *PublicKey) GetY() string
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) String() string
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type PublicKey_EllipticCurve
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)
- func (m *Signature) GetHash() string
- func (m *Signature) GetKeyname() string
- func (m *Signature) GetR() string
- func (m *Signature) GetS() string
- func (*Signature) ProtoMessage()
- func (m *Signature) Reset()
- func (m *Signature) String() string
- func (m *Signature) XXX_DiscardUnknown()
- func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Signature) XXX_Merge(src proto.Message)
- func (m *Signature) XXX_Size() int
- func (m *Signature) XXX_Unmarshal(b []byte) error
- type UnimplementedAccountServiceServer
- type UnimplementedCharacterServiceServer
- func (*UnimplementedCharacterServiceServer) CreateNewCharacter(ctx context.Context, req *CreateCharacterRequest) (*CreateCharacterResponse, error)
- func (*UnimplementedCharacterServiceServer) GetCharacters(ctx context.Context, req *GetCharactersRequest) (*GetCharactersResponse, error)
- func (*UnimplementedCharacterServiceServer) LoadCharacter(ctx context.Context, req *LoadCharacterRequest) (*LoadCharacterResponse, error)
Constants ¶
This section is empty.
Variables ¶
var PublicKey_EllipticCurve_name = map[int32]string{
0: "P224",
1: "P256",
2: "P384",
3: "P521",
}
var PublicKey_EllipticCurve_value = map[string]int32{
"P224": 0,
"P256": 1,
"P384": 2,
"P521": 3,
}
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s *grpc.Server, srv AccountServiceServer)
func RegisterCharacterServiceServer ¶
func RegisterCharacterServiceServer(s *grpc.Server, srv CharacterServiceServer)
Types ¶
type Account ¶
type Account struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Keys []*PublicKey `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Account) Descriptor ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type AccountServiceClient ¶
type AccountServiceClient interface {
CreateNewAccount(ctx context.Context, in *NewAccountRequest, opts ...grpc.CallOption) (*NewAccountResponse, error)
}
AccountServiceClient is the client API for AccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccountServiceClient ¶
func NewAccountServiceClient(cc *grpc.ClientConn) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface {
CreateNewAccount(context.Context, *NewAccountRequest) (*NewAccountResponse, error)
}
AccountServiceServer is the server API for AccountService service.
type Character ¶
type Character struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Character) Descriptor ¶
func (*Character) ProtoMessage ¶
func (*Character) ProtoMessage()
func (*Character) XXX_DiscardUnknown ¶
func (m *Character) XXX_DiscardUnknown()
func (*Character) XXX_Marshal ¶
func (*Character) XXX_Unmarshal ¶
type CharacterServiceClient ¶
type CharacterServiceClient interface { CreateNewCharacter(ctx context.Context, in *CreateCharacterRequest, opts ...grpc.CallOption) (*CreateCharacterResponse, error) GetCharacters(ctx context.Context, in *GetCharactersRequest, opts ...grpc.CallOption) (*GetCharactersResponse, error) LoadCharacter(ctx context.Context, in *LoadCharacterRequest, opts ...grpc.CallOption) (*LoadCharacterResponse, error) }
CharacterServiceClient is the client API for CharacterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCharacterServiceClient ¶
func NewCharacterServiceClient(cc *grpc.ClientConn) CharacterServiceClient
type CharacterServiceServer ¶
type CharacterServiceServer interface { CreateNewCharacter(context.Context, *CreateCharacterRequest) (*CreateCharacterResponse, error) GetCharacters(context.Context, *GetCharactersRequest) (*GetCharactersResponse, error) LoadCharacter(context.Context, *LoadCharacterRequest) (*LoadCharacterResponse, error) }
CharacterServiceServer is the server API for CharacterService service.
type CreateCharacterRequest ¶
type CreateCharacterRequest struct { AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` CharacterName string `protobuf:"bytes,2,opt,name=character_name,json=characterName,proto3" json:"character_name,omitempty"` Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateCharacterRequest) Descriptor ¶
func (*CreateCharacterRequest) Descriptor() ([]byte, []int)
func (*CreateCharacterRequest) GetAccountId ¶
func (m *CreateCharacterRequest) GetAccountId() int64
func (*CreateCharacterRequest) GetCharacterName ¶
func (m *CreateCharacterRequest) GetCharacterName() string
func (*CreateCharacterRequest) GetSignature ¶
func (m *CreateCharacterRequest) GetSignature() *Signature
func (*CreateCharacterRequest) ProtoMessage ¶
func (*CreateCharacterRequest) ProtoMessage()
func (*CreateCharacterRequest) Reset ¶
func (m *CreateCharacterRequest) Reset()
func (*CreateCharacterRequest) String ¶
func (m *CreateCharacterRequest) String() string
func (*CreateCharacterRequest) XXX_DiscardUnknown ¶
func (m *CreateCharacterRequest) XXX_DiscardUnknown()
func (*CreateCharacterRequest) XXX_Marshal ¶
func (m *CreateCharacterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCharacterRequest) XXX_Merge ¶
func (m *CreateCharacterRequest) XXX_Merge(src proto.Message)
func (*CreateCharacterRequest) XXX_Size ¶
func (m *CreateCharacterRequest) XXX_Size() int
func (*CreateCharacterRequest) XXX_Unmarshal ¶
func (m *CreateCharacterRequest) XXX_Unmarshal(b []byte) error
type CreateCharacterResponse ¶
type CreateCharacterResponse struct { CharacterId int64 `protobuf:"varint,1,opt,name=character_id,json=characterId,proto3" json:"character_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateCharacterResponse) Descriptor ¶
func (*CreateCharacterResponse) Descriptor() ([]byte, []int)
func (*CreateCharacterResponse) GetCharacterId ¶
func (m *CreateCharacterResponse) GetCharacterId() int64
func (*CreateCharacterResponse) ProtoMessage ¶
func (*CreateCharacterResponse) ProtoMessage()
func (*CreateCharacterResponse) Reset ¶
func (m *CreateCharacterResponse) Reset()
func (*CreateCharacterResponse) String ¶
func (m *CreateCharacterResponse) String() string
func (*CreateCharacterResponse) XXX_DiscardUnknown ¶
func (m *CreateCharacterResponse) XXX_DiscardUnknown()
func (*CreateCharacterResponse) XXX_Marshal ¶
func (m *CreateCharacterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCharacterResponse) XXX_Merge ¶
func (m *CreateCharacterResponse) XXX_Merge(src proto.Message)
func (*CreateCharacterResponse) XXX_Size ¶
func (m *CreateCharacterResponse) XXX_Size() int
func (*CreateCharacterResponse) XXX_Unmarshal ¶
func (m *CreateCharacterResponse) XXX_Unmarshal(b []byte) error
type GetCharactersRequest ¶
type GetCharactersRequest struct { AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCharactersRequest) Descriptor ¶
func (*GetCharactersRequest) Descriptor() ([]byte, []int)
func (*GetCharactersRequest) GetAccountId ¶
func (m *GetCharactersRequest) GetAccountId() int64
func (*GetCharactersRequest) GetSignature ¶
func (m *GetCharactersRequest) GetSignature() *Signature
func (*GetCharactersRequest) ProtoMessage ¶
func (*GetCharactersRequest) ProtoMessage()
func (*GetCharactersRequest) Reset ¶
func (m *GetCharactersRequest) Reset()
func (*GetCharactersRequest) String ¶
func (m *GetCharactersRequest) String() string
func (*GetCharactersRequest) XXX_DiscardUnknown ¶
func (m *GetCharactersRequest) XXX_DiscardUnknown()
func (*GetCharactersRequest) XXX_Marshal ¶
func (m *GetCharactersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCharactersRequest) XXX_Merge ¶
func (m *GetCharactersRequest) XXX_Merge(src proto.Message)
func (*GetCharactersRequest) XXX_Size ¶
func (m *GetCharactersRequest) XXX_Size() int
func (*GetCharactersRequest) XXX_Unmarshal ¶
func (m *GetCharactersRequest) XXX_Unmarshal(b []byte) error
type GetCharactersResponse ¶
type GetCharactersResponse struct { Characters []*Character `protobuf:"bytes,1,rep,name=characters,proto3" json:"characters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetCharactersResponse) Descriptor ¶
func (*GetCharactersResponse) Descriptor() ([]byte, []int)
func (*GetCharactersResponse) GetCharacters ¶
func (m *GetCharactersResponse) GetCharacters() []*Character
func (*GetCharactersResponse) ProtoMessage ¶
func (*GetCharactersResponse) ProtoMessage()
func (*GetCharactersResponse) Reset ¶
func (m *GetCharactersResponse) Reset()
func (*GetCharactersResponse) String ¶
func (m *GetCharactersResponse) String() string
func (*GetCharactersResponse) XXX_DiscardUnknown ¶
func (m *GetCharactersResponse) XXX_DiscardUnknown()
func (*GetCharactersResponse) XXX_Marshal ¶
func (m *GetCharactersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCharactersResponse) XXX_Merge ¶
func (m *GetCharactersResponse) XXX_Merge(src proto.Message)
func (*GetCharactersResponse) XXX_Size ¶
func (m *GetCharactersResponse) XXX_Size() int
func (*GetCharactersResponse) XXX_Unmarshal ¶
func (m *GetCharactersResponse) XXX_Unmarshal(b []byte) error
type LoadCharacterRequest ¶
type LoadCharacterRequest struct { AccountId int64 `protobuf:"varint,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` CharacterId int64 `protobuf:"varint,2,opt,name=character_id,json=characterId,proto3" json:"character_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadCharacterRequest) Descriptor ¶
func (*LoadCharacterRequest) Descriptor() ([]byte, []int)
func (*LoadCharacterRequest) GetAccountId ¶
func (m *LoadCharacterRequest) GetAccountId() int64
func (*LoadCharacterRequest) GetCharacterId ¶
func (m *LoadCharacterRequest) GetCharacterId() int64
func (*LoadCharacterRequest) ProtoMessage ¶
func (*LoadCharacterRequest) ProtoMessage()
func (*LoadCharacterRequest) Reset ¶
func (m *LoadCharacterRequest) Reset()
func (*LoadCharacterRequest) String ¶
func (m *LoadCharacterRequest) String() string
func (*LoadCharacterRequest) XXX_DiscardUnknown ¶
func (m *LoadCharacterRequest) XXX_DiscardUnknown()
func (*LoadCharacterRequest) XXX_Marshal ¶
func (m *LoadCharacterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadCharacterRequest) XXX_Merge ¶
func (m *LoadCharacterRequest) XXX_Merge(src proto.Message)
func (*LoadCharacterRequest) XXX_Size ¶
func (m *LoadCharacterRequest) XXX_Size() int
func (*LoadCharacterRequest) XXX_Unmarshal ¶
func (m *LoadCharacterRequest) XXX_Unmarshal(b []byte) error
type LoadCharacterResponse ¶
type LoadCharacterResponse struct { Character *Character `protobuf:"bytes,1,opt,name=character,proto3" json:"character,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadCharacterResponse) Descriptor ¶
func (*LoadCharacterResponse) Descriptor() ([]byte, []int)
func (*LoadCharacterResponse) GetCharacter ¶
func (m *LoadCharacterResponse) GetCharacter() *Character
func (*LoadCharacterResponse) ProtoMessage ¶
func (*LoadCharacterResponse) ProtoMessage()
func (*LoadCharacterResponse) Reset ¶
func (m *LoadCharacterResponse) Reset()
func (*LoadCharacterResponse) String ¶
func (m *LoadCharacterResponse) String() string
func (*LoadCharacterResponse) XXX_DiscardUnknown ¶
func (m *LoadCharacterResponse) XXX_DiscardUnknown()
func (*LoadCharacterResponse) XXX_Marshal ¶
func (m *LoadCharacterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadCharacterResponse) XXX_Merge ¶
func (m *LoadCharacterResponse) XXX_Merge(src proto.Message)
func (*LoadCharacterResponse) XXX_Size ¶
func (m *LoadCharacterResponse) XXX_Size() int
func (*LoadCharacterResponse) XXX_Unmarshal ¶
func (m *LoadCharacterResponse) XXX_Unmarshal(b []byte) error
type NewAccountRequest ¶
type NewAccountRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Key *PublicKey `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` Sig *Signature `protobuf:"bytes,3,opt,name=sig,proto3" json:"sig,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewAccountRequest) Descriptor ¶
func (*NewAccountRequest) Descriptor() ([]byte, []int)
func (*NewAccountRequest) GetKey ¶
func (m *NewAccountRequest) GetKey() *PublicKey
func (*NewAccountRequest) GetSig ¶
func (m *NewAccountRequest) GetSig() *Signature
func (*NewAccountRequest) GetUsername ¶
func (m *NewAccountRequest) GetUsername() string
func (*NewAccountRequest) ProtoMessage ¶
func (*NewAccountRequest) ProtoMessage()
func (*NewAccountRequest) Reset ¶
func (m *NewAccountRequest) Reset()
func (*NewAccountRequest) String ¶
func (m *NewAccountRequest) String() string
func (*NewAccountRequest) XXX_DiscardUnknown ¶
func (m *NewAccountRequest) XXX_DiscardUnknown()
func (*NewAccountRequest) XXX_Marshal ¶
func (m *NewAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewAccountRequest) XXX_Merge ¶
func (m *NewAccountRequest) XXX_Merge(src proto.Message)
func (*NewAccountRequest) XXX_Size ¶
func (m *NewAccountRequest) XXX_Size() int
func (*NewAccountRequest) XXX_Unmarshal ¶
func (m *NewAccountRequest) XXX_Unmarshal(b []byte) error
type NewAccountResponse ¶
type NewAccountResponse struct { Userid int64 `protobuf:"varint,1,opt,name=userid,proto3" json:"userid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewAccountResponse) Descriptor ¶
func (*NewAccountResponse) Descriptor() ([]byte, []int)
func (*NewAccountResponse) GetUserid ¶
func (m *NewAccountResponse) GetUserid() int64
func (*NewAccountResponse) ProtoMessage ¶
func (*NewAccountResponse) ProtoMessage()
func (*NewAccountResponse) Reset ¶
func (m *NewAccountResponse) Reset()
func (*NewAccountResponse) String ¶
func (m *NewAccountResponse) String() string
func (*NewAccountResponse) XXX_DiscardUnknown ¶
func (m *NewAccountResponse) XXX_DiscardUnknown()
func (*NewAccountResponse) XXX_Marshal ¶
func (m *NewAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewAccountResponse) XXX_Merge ¶
func (m *NewAccountResponse) XXX_Merge(src proto.Message)
func (*NewAccountResponse) XXX_Size ¶
func (m *NewAccountResponse) XXX_Size() int
func (*NewAccountResponse) XXX_Unmarshal ¶
func (m *NewAccountResponse) XXX_Unmarshal(b []byte) error
type PublicKey ¶
type PublicKey struct { Curve PublicKey_EllipticCurve `protobuf:"varint,1,opt,name=curve,proto3,enum=protobuf.PublicKey_EllipticCurve" json:"curve,omitempty"` X string `protobuf:"bytes,2,opt,name=x,proto3" json:"x,omitempty"` Y string `protobuf:"bytes,3,opt,name=y,proto3" json:"y,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PublicKey) Descriptor ¶
func (*PublicKey) GetCurve ¶
func (m *PublicKey) GetCurve() PublicKey_EllipticCurve
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_Unmarshal ¶
type PublicKey_EllipticCurve ¶
type PublicKey_EllipticCurve int32
const ( PublicKey_P224 PublicKey_EllipticCurve = 0 PublicKey_P256 PublicKey_EllipticCurve = 1 PublicKey_P384 PublicKey_EllipticCurve = 2 PublicKey_P521 PublicKey_EllipticCurve = 3 )
func (PublicKey_EllipticCurve) EnumDescriptor ¶
func (PublicKey_EllipticCurve) EnumDescriptor() ([]byte, []int)
func (PublicKey_EllipticCurve) String ¶
func (x PublicKey_EllipticCurve) String() string
type Signature ¶
type Signature struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` R string `protobuf:"bytes,2,opt,name=r,proto3" json:"r,omitempty"` S string `protobuf:"bytes,3,opt,name=s,proto3" json:"s,omitempty"` Keyname string `protobuf:"bytes,4,opt,name=keyname,proto3" json:"keyname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Signature) Descriptor ¶
func (*Signature) GetKeyname ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) XXX_DiscardUnknown ¶
func (m *Signature) XXX_DiscardUnknown()
func (*Signature) XXX_Marshal ¶
func (*Signature) XXX_Unmarshal ¶
type UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccountServiceServer) CreateNewAccount ¶
func (*UnimplementedAccountServiceServer) CreateNewAccount(ctx context.Context, req *NewAccountRequest) (*NewAccountResponse, error)
type UnimplementedCharacterServiceServer ¶
type UnimplementedCharacterServiceServer struct { }
UnimplementedCharacterServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedCharacterServiceServer) CreateNewCharacter ¶
func (*UnimplementedCharacterServiceServer) CreateNewCharacter(ctx context.Context, req *CreateCharacterRequest) (*CreateCharacterResponse, error)
func (*UnimplementedCharacterServiceServer) GetCharacters ¶
func (*UnimplementedCharacterServiceServer) GetCharacters(ctx context.Context, req *GetCharactersRequest) (*GetCharactersResponse, error)
func (*UnimplementedCharacterServiceServer) LoadCharacter ¶
func (*UnimplementedCharacterServiceServer) LoadCharacter(ctx context.Context, req *LoadCharacterRequest) (*LoadCharacterResponse, error)