Documentation ¶
Index ¶
- Variables
- type Account
- type AccountCreated
- func (*AccountCreated) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCreated) GetAccountBalance() float64
- func (x *AccountCreated) GetAccountId() string
- func (*AccountCreated) ProtoMessage()
- func (x *AccountCreated) ProtoReflect() protoreflect.Message
- func (x *AccountCreated) Reset()
- func (x *AccountCreated) String() string
- type AccountCredited
- func (*AccountCredited) Descriptor() ([]byte, []int)deprecated
- func (x *AccountCredited) GetAccountBalance() float64
- func (x *AccountCredited) GetAccountId() string
- func (*AccountCredited) ProtoMessage()
- func (x *AccountCredited) ProtoReflect() protoreflect.Message
- func (x *AccountCredited) Reset()
- func (x *AccountCredited) String() string
- type CreateAccount
- func (*CreateAccount) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccount) GetAccountBalance() float64
- func (x *CreateAccount) GetAccountId() string
- func (*CreateAccount) ProtoMessage()
- func (x *CreateAccount) ProtoReflect() protoreflect.Message
- func (x *CreateAccount) Reset()
- func (x *CreateAccount) String() string
- type CreateAccountRequest
- func (*CreateAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountRequest) GetCreateAccount() *CreateAccount
- func (*CreateAccountRequest) ProtoMessage()
- func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAccountRequest) Reset()
- func (x *CreateAccountRequest) String() string
- type CreateAccountResponse
- func (*CreateAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAccountResponse) GetAccount() *Account
- func (*CreateAccountResponse) ProtoMessage()
- func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAccountResponse) Reset()
- func (x *CreateAccountResponse) String() string
- type CreditAccount
- func (*CreditAccount) Descriptor() ([]byte, []int)deprecated
- func (x *CreditAccount) GetAccountId() string
- func (x *CreditAccount) GetBalance() float64
- func (*CreditAccount) ProtoMessage()
- func (x *CreditAccount) ProtoReflect() protoreflect.Message
- func (x *CreditAccount) Reset()
- func (x *CreditAccount) String() string
- type CreditAccountRequest
- func (*CreditAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreditAccountRequest) GetCreditAccount() *CreditAccount
- func (*CreditAccountRequest) ProtoMessage()
- func (x *CreditAccountRequest) ProtoReflect() protoreflect.Message
- func (x *CreditAccountRequest) Reset()
- func (x *CreditAccountRequest) String() string
- type CreditAccountResponse
- func (*CreditAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreditAccountResponse) GetAccount() *Account
- func (*CreditAccountResponse) ProtoMessage()
- func (x *CreditAccountResponse) ProtoReflect() protoreflect.Message
- func (x *CreditAccountResponse) Reset()
- func (x *CreditAccountResponse) String() string
- type GetAccount
- type GetAccountRequest
- type GetAccountResponse
- func (*GetAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAccountResponse) GetAccount() *Account
- func (*GetAccountResponse) ProtoMessage()
- func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GetAccountResponse) Reset()
- func (x *GetAccountResponse) String() string
- type Ping
- type Pong
Constants ¶
This section is empty.
Variables ¶
var File_pb_v1_sample_proto protoreflect.FileDescriptor
var File_pb_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) GetAccountBalance ¶
func (*Account) GetAccountId ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountCreated ¶
type AccountCreated struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"` // contains filtered or unexported fields }
func (*AccountCreated) Descriptor
deprecated
func (*AccountCreated) Descriptor() ([]byte, []int)
Deprecated: Use AccountCreated.ProtoReflect.Descriptor instead.
func (*AccountCreated) GetAccountBalance ¶
func (x *AccountCreated) GetAccountBalance() float64
func (*AccountCreated) GetAccountId ¶
func (x *AccountCreated) GetAccountId() string
func (*AccountCreated) ProtoMessage ¶
func (*AccountCreated) ProtoMessage()
func (*AccountCreated) ProtoReflect ¶
func (x *AccountCreated) ProtoReflect() protoreflect.Message
func (*AccountCreated) Reset ¶
func (x *AccountCreated) Reset()
func (*AccountCreated) String ¶
func (x *AccountCreated) String() string
type AccountCredited ¶
type AccountCredited struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"` // contains filtered or unexported fields }
func (*AccountCredited) Descriptor
deprecated
func (*AccountCredited) Descriptor() ([]byte, []int)
Deprecated: Use AccountCredited.ProtoReflect.Descriptor instead.
func (*AccountCredited) GetAccountBalance ¶
func (x *AccountCredited) GetAccountBalance() float64
func (*AccountCredited) GetAccountId ¶
func (x *AccountCredited) GetAccountId() string
func (*AccountCredited) ProtoMessage ¶
func (*AccountCredited) ProtoMessage()
func (*AccountCredited) ProtoReflect ¶
func (x *AccountCredited) ProtoReflect() protoreflect.Message
func (*AccountCredited) Reset ¶
func (x *AccountCredited) Reset()
func (*AccountCredited) String ¶
func (x *AccountCredited) String() string
type CreateAccount ¶
type CreateAccount struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` AccountBalance float64 `protobuf:"fixed64,2,opt,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty"` // contains filtered or unexported fields }
func (*CreateAccount) Descriptor
deprecated
func (*CreateAccount) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccount.ProtoReflect.Descriptor instead.
func (*CreateAccount) GetAccountBalance ¶
func (x *CreateAccount) GetAccountBalance() float64
func (*CreateAccount) GetAccountId ¶
func (x *CreateAccount) GetAccountId() string
func (*CreateAccount) ProtoMessage ¶
func (*CreateAccount) ProtoMessage()
func (*CreateAccount) ProtoReflect ¶
func (x *CreateAccount) ProtoReflect() protoreflect.Message
func (*CreateAccount) Reset ¶
func (x *CreateAccount) Reset()
func (*CreateAccount) String ¶
func (x *CreateAccount) String() string
type CreateAccountRequest ¶ added in v0.2.0
type CreateAccountRequest struct { CreateAccount *CreateAccount `protobuf:"bytes,1,opt,name=create_account,json=createAccount,proto3" json:"create_account,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountRequest) Descriptor
deprecated
added in
v0.2.0
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetCreateAccount ¶ added in v0.2.0
func (x *CreateAccountRequest) GetCreateAccount() *CreateAccount
func (*CreateAccountRequest) ProtoMessage ¶ added in v0.2.0
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶ added in v0.2.0
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶ added in v0.2.0
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶ added in v0.2.0
func (x *CreateAccountRequest) String() string
type CreateAccountResponse ¶ added in v0.2.0
type CreateAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
added in
v0.2.0
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetAccount ¶ added in v0.2.0
func (x *CreateAccountResponse) GetAccount() *Account
func (*CreateAccountResponse) ProtoMessage ¶ added in v0.2.0
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶ added in v0.2.0
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶ added in v0.2.0
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶ added in v0.2.0
func (x *CreateAccountResponse) String() string
type CreditAccount ¶
type CreditAccount struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` Balance float64 `protobuf:"fixed64,2,opt,name=balance,proto3" json:"balance,omitempty"` // contains filtered or unexported fields }
func (*CreditAccount) Descriptor
deprecated
func (*CreditAccount) Descriptor() ([]byte, []int)
Deprecated: Use CreditAccount.ProtoReflect.Descriptor instead.
func (*CreditAccount) GetAccountId ¶
func (x *CreditAccount) GetAccountId() string
func (*CreditAccount) GetBalance ¶
func (x *CreditAccount) GetBalance() float64
func (*CreditAccount) ProtoMessage ¶
func (*CreditAccount) ProtoMessage()
func (*CreditAccount) ProtoReflect ¶
func (x *CreditAccount) ProtoReflect() protoreflect.Message
func (*CreditAccount) Reset ¶
func (x *CreditAccount) Reset()
func (*CreditAccount) String ¶
func (x *CreditAccount) String() string
type CreditAccountRequest ¶ added in v0.2.0
type CreditAccountRequest struct { CreditAccount *CreditAccount `protobuf:"bytes,1,opt,name=credit_account,json=creditAccount,proto3" json:"credit_account,omitempty"` // contains filtered or unexported fields }
func (*CreditAccountRequest) Descriptor
deprecated
added in
v0.2.0
func (*CreditAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreditAccountRequest.ProtoReflect.Descriptor instead.
func (*CreditAccountRequest) GetCreditAccount ¶ added in v0.2.0
func (x *CreditAccountRequest) GetCreditAccount() *CreditAccount
func (*CreditAccountRequest) ProtoMessage ¶ added in v0.2.0
func (*CreditAccountRequest) ProtoMessage()
func (*CreditAccountRequest) ProtoReflect ¶ added in v0.2.0
func (x *CreditAccountRequest) ProtoReflect() protoreflect.Message
func (*CreditAccountRequest) Reset ¶ added in v0.2.0
func (x *CreditAccountRequest) Reset()
func (*CreditAccountRequest) String ¶ added in v0.2.0
func (x *CreditAccountRequest) String() string
type CreditAccountResponse ¶ added in v0.2.0
type CreditAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*CreditAccountResponse) Descriptor
deprecated
added in
v0.2.0
func (*CreditAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreditAccountResponse.ProtoReflect.Descriptor instead.
func (*CreditAccountResponse) GetAccount ¶ added in v0.2.0
func (x *CreditAccountResponse) GetAccount() *Account
func (*CreditAccountResponse) ProtoMessage ¶ added in v0.2.0
func (*CreditAccountResponse) ProtoMessage()
func (*CreditAccountResponse) ProtoReflect ¶ added in v0.2.0
func (x *CreditAccountResponse) ProtoReflect() protoreflect.Message
func (*CreditAccountResponse) Reset ¶ added in v0.2.0
func (x *CreditAccountResponse) Reset()
func (*CreditAccountResponse) String ¶ added in v0.2.0
func (x *CreditAccountResponse) String() string
type GetAccount ¶ added in v0.4.0
type GetAccount struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*GetAccount) Descriptor
deprecated
added in
v0.4.0
func (*GetAccount) Descriptor() ([]byte, []int)
Deprecated: Use GetAccount.ProtoReflect.Descriptor instead.
func (*GetAccount) GetAccountId ¶ added in v0.4.0
func (x *GetAccount) GetAccountId() string
func (*GetAccount) ProtoMessage ¶ added in v0.4.0
func (*GetAccount) ProtoMessage()
func (*GetAccount) ProtoReflect ¶ added in v0.4.0
func (x *GetAccount) ProtoReflect() protoreflect.Message
func (*GetAccount) Reset ¶ added in v0.4.0
func (x *GetAccount) Reset()
func (*GetAccount) String ¶ added in v0.4.0
func (x *GetAccount) String() string
type GetAccountRequest ¶ added in v0.2.0
type GetAccountRequest struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // contains filtered or unexported fields }
func (*GetAccountRequest) Descriptor
deprecated
added in
v0.2.0
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetAccountId ¶ added in v0.2.0
func (x *GetAccountRequest) GetAccountId() string
func (*GetAccountRequest) ProtoMessage ¶ added in v0.2.0
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶ added in v0.2.0
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶ added in v0.2.0
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶ added in v0.2.0
func (x *GetAccountRequest) String() string
type GetAccountResponse ¶ added in v0.2.0
type GetAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetAccountResponse) Descriptor
deprecated
added in
v0.2.0
func (*GetAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.
func (*GetAccountResponse) GetAccount ¶ added in v0.2.0
func (x *GetAccountResponse) GetAccount() *Account
func (*GetAccountResponse) ProtoMessage ¶ added in v0.2.0
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) ProtoReflect ¶ added in v0.2.0
func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
func (*GetAccountResponse) Reset ¶ added in v0.2.0
func (x *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶ added in v0.2.0
func (x *GetAccountResponse) String() string
type Ping ¶
type Ping struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Ping) Descriptor
deprecated
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type Pong ¶
type Pong struct { Reply string `protobuf:"bytes,2,opt,name=reply,proto3" json:"reply,omitempty"` // contains filtered or unexported fields }
func (*Pong) Descriptor
deprecated
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message