Documentation ¶
Index ¶
- Variables
- func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetFeeFrozen() string
- func (x *Account) GetFree() string
- func (x *Account) GetMiscFrozen() string
- func (x *Account) GetNonce() int64
- func (x *Account) GetReserved() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- type AccountIdentity
- func (*AccountIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *AccountIdentity) GetDeposit() string
- func (x *AccountIdentity) GetDisplayName() string
- func (x *AccountIdentity) GetEmailName() string
- func (x *AccountIdentity) GetImage() string
- func (x *AccountIdentity) GetLegalName() string
- func (x *AccountIdentity) GetRiotName() string
- func (x *AccountIdentity) GetTwitterName() string
- func (x *AccountIdentity) GetWebName() string
- func (*AccountIdentity) ProtoMessage()
- func (x *AccountIdentity) ProtoReflect() protoreflect.Message
- func (x *AccountIdentity) Reset()
- func (x *AccountIdentity) String() string
- type AccountServiceClient
- type AccountServiceServer
- type GetByHeightRequest
- func (*GetByHeightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByHeightRequest) GetAddress() string
- func (x *GetByHeightRequest) GetHeight() int64
- func (*GetByHeightRequest) ProtoMessage()
- func (x *GetByHeightRequest) ProtoReflect() protoreflect.Message
- func (x *GetByHeightRequest) Reset()
- func (x *GetByHeightRequest) String() string
- type GetByHeightResponse
- func (*GetByHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByHeightResponse) GetAccount() *Account
- func (*GetByHeightResponse) ProtoMessage()
- func (x *GetByHeightResponse) ProtoReflect() protoreflect.Message
- func (x *GetByHeightResponse) Reset()
- func (x *GetByHeightResponse) String() string
- type GetIdentityRequest
- func (*GetIdentityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityRequest) GetAddress() string
- func (*GetIdentityRequest) ProtoMessage()
- func (x *GetIdentityRequest) ProtoReflect() protoreflect.Message
- func (x *GetIdentityRequest) Reset()
- func (x *GetIdentityRequest) String() string
- type GetIdentityResponse
- func (*GetIdentityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetIdentityResponse) GetIdentity() *AccountIdentity
- func (*GetIdentityResponse) ProtoMessage()
- func (x *GetIdentityResponse) ProtoReflect() protoreflect.Message
- func (x *GetIdentityResponse) Reset()
- func (x *GetIdentityResponse) String() string
- type UnimplementedAccountServiceServer
- type UnsafeAccountServiceServer
Constants ¶
This section is empty.
Variables ¶
var AccountService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "account.AccountService", HandlerType: (*AccountServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetIdentity", Handler: _AccountService_GetIdentity_Handler, }, { MethodName: "GetByHeight", Handler: _AccountService_GetByHeight_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "grpc/account/accountpb/account.proto", }
AccountService_ServiceDesc is the grpc.ServiceDesc for AccountService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_grpc_account_accountpb_account_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAccountServiceServer ¶
func RegisterAccountServiceServer(s grpc.ServiceRegistrar, srv AccountServiceServer)
Types ¶
type Account ¶
type Account struct { Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` Free string `protobuf:"bytes,2,opt,name=free,proto3" json:"free,omitempty"` Reserved string `protobuf:"bytes,3,opt,name=reserved,proto3" json:"reserved,omitempty"` MiscFrozen string `protobuf:"bytes,4,opt,name=misc_frozen,json=miscFrozen,proto3" json:"misc_frozen,omitempty"` FeeFrozen string `protobuf:"bytes,5,opt,name=fee_frozen,json=feeFrozen,proto3" json:"fee_frozen,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetFeeFrozen ¶
func (*Account) GetMiscFrozen ¶
func (*Account) GetReserved ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountIdentity ¶
type AccountIdentity struct { Deposit string `protobuf:"bytes,1,opt,name=deposit,proto3" json:"deposit,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` LegalName string `protobuf:"bytes,3,opt,name=legal_name,json=legalName,proto3" json:"legal_name,omitempty"` WebName string `protobuf:"bytes,4,opt,name=web_name,json=webName,proto3" json:"web_name,omitempty"` RiotName string `protobuf:"bytes,5,opt,name=riot_name,json=riotName,proto3" json:"riot_name,omitempty"` EmailName string `protobuf:"bytes,6,opt,name=email_name,json=emailName,proto3" json:"email_name,omitempty"` TwitterName string `protobuf:"bytes,7,opt,name=twitter_name,json=twitterName,proto3" json:"twitter_name,omitempty"` Image string `protobuf:"bytes,8,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*AccountIdentity) Descriptor
deprecated
func (*AccountIdentity) Descriptor() ([]byte, []int)
Deprecated: Use AccountIdentity.ProtoReflect.Descriptor instead.
func (*AccountIdentity) GetDeposit ¶
func (x *AccountIdentity) GetDeposit() string
func (*AccountIdentity) GetDisplayName ¶
func (x *AccountIdentity) GetDisplayName() string
func (*AccountIdentity) GetEmailName ¶
func (x *AccountIdentity) GetEmailName() string
func (*AccountIdentity) GetImage ¶
func (x *AccountIdentity) GetImage() string
func (*AccountIdentity) GetLegalName ¶
func (x *AccountIdentity) GetLegalName() string
func (*AccountIdentity) GetRiotName ¶
func (x *AccountIdentity) GetRiotName() string
func (*AccountIdentity) GetTwitterName ¶
func (x *AccountIdentity) GetTwitterName() string
func (*AccountIdentity) GetWebName ¶
func (x *AccountIdentity) GetWebName() string
func (*AccountIdentity) ProtoMessage ¶
func (*AccountIdentity) ProtoMessage()
func (*AccountIdentity) ProtoReflect ¶
func (x *AccountIdentity) ProtoReflect() protoreflect.Message
func (*AccountIdentity) Reset ¶
func (x *AccountIdentity) Reset()
func (*AccountIdentity) String ¶
func (x *AccountIdentity) String() string
type AccountServiceClient ¶
type AccountServiceClient interface { // Fixed queries GetIdentity(ctx context.Context, in *GetIdentityRequest, opts ...grpc.CallOption) (*GetIdentityResponse, error) // Height queries GetByHeight(ctx context.Context, in *GetByHeightRequest, opts ...grpc.CallOption) (*GetByHeightResponse, error) }
AccountServiceClient is the client API for AccountService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAccountServiceClient ¶
func NewAccountServiceClient(cc grpc.ClientConnInterface) AccountServiceClient
type AccountServiceServer ¶
type AccountServiceServer interface { // Fixed queries GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error) // Height queries GetByHeight(context.Context, *GetByHeightRequest) (*GetByHeightResponse, error) // contains filtered or unexported methods }
AccountServiceServer is the server API for AccountService service. All implementations must embed UnimplementedAccountServiceServer for forward compatibility
type GetByHeightRequest ¶
type GetByHeightRequest struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetByHeightRequest) Descriptor
deprecated
func (*GetByHeightRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByHeightRequest.ProtoReflect.Descriptor instead.
func (*GetByHeightRequest) GetAddress ¶
func (x *GetByHeightRequest) GetAddress() string
func (*GetByHeightRequest) GetHeight ¶
func (x *GetByHeightRequest) GetHeight() int64
func (*GetByHeightRequest) ProtoMessage ¶
func (*GetByHeightRequest) ProtoMessage()
func (*GetByHeightRequest) ProtoReflect ¶
func (x *GetByHeightRequest) ProtoReflect() protoreflect.Message
func (*GetByHeightRequest) Reset ¶
func (x *GetByHeightRequest) Reset()
func (*GetByHeightRequest) String ¶
func (x *GetByHeightRequest) String() string
type GetByHeightResponse ¶
type GetByHeightResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetByHeightResponse) Descriptor
deprecated
func (*GetByHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByHeightResponse.ProtoReflect.Descriptor instead.
func (*GetByHeightResponse) GetAccount ¶
func (x *GetByHeightResponse) GetAccount() *Account
func (*GetByHeightResponse) ProtoMessage ¶
func (*GetByHeightResponse) ProtoMessage()
func (*GetByHeightResponse) ProtoReflect ¶
func (x *GetByHeightResponse) ProtoReflect() protoreflect.Message
func (*GetByHeightResponse) Reset ¶
func (x *GetByHeightResponse) Reset()
func (*GetByHeightResponse) String ¶
func (x *GetByHeightResponse) String() string
type GetIdentityRequest ¶
type GetIdentityRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityRequest) Descriptor
deprecated
func (*GetIdentityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityRequest) GetAddress ¶
func (x *GetIdentityRequest) GetAddress() string
func (*GetIdentityRequest) ProtoMessage ¶
func (*GetIdentityRequest) ProtoMessage()
func (*GetIdentityRequest) ProtoReflect ¶
func (x *GetIdentityRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityRequest) Reset ¶
func (x *GetIdentityRequest) Reset()
func (*GetIdentityRequest) String ¶
func (x *GetIdentityRequest) String() string
type GetIdentityResponse ¶
type GetIdentityResponse struct { Identity *AccountIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // contains filtered or unexported fields }
func (*GetIdentityResponse) Descriptor
deprecated
func (*GetIdentityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityResponse.ProtoReflect.Descriptor instead.
func (*GetIdentityResponse) GetIdentity ¶
func (x *GetIdentityResponse) GetIdentity() *AccountIdentity
func (*GetIdentityResponse) ProtoMessage ¶
func (*GetIdentityResponse) ProtoMessage()
func (*GetIdentityResponse) ProtoReflect ¶
func (x *GetIdentityResponse) ProtoReflect() protoreflect.Message
func (*GetIdentityResponse) Reset ¶
func (x *GetIdentityResponse) Reset()
func (*GetIdentityResponse) String ¶
func (x *GetIdentityResponse) String() string
type UnimplementedAccountServiceServer ¶
type UnimplementedAccountServiceServer struct { }
UnimplementedAccountServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAccountServiceServer) GetByHeight ¶
func (UnimplementedAccountServiceServer) GetByHeight(context.Context, *GetByHeightRequest) (*GetByHeightResponse, error)
func (UnimplementedAccountServiceServer) GetIdentity ¶
func (UnimplementedAccountServiceServer) GetIdentity(context.Context, *GetIdentityRequest) (*GetIdentityResponse, error)
type UnsafeAccountServiceServer ¶
type UnsafeAccountServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAccountServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountServiceServer will result in compilation errors.