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 AccountDebited
- func (*AccountDebited) Descriptor() ([]byte, []int)deprecated
- func (x *AccountDebited) GetAccountBalance() float64
- func (x *AccountDebited) GetAccountId() string
- func (*AccountDebited) ProtoMessage()
- func (x *AccountDebited) ProtoReflect() protoreflect.Message
- func (x *AccountDebited) Reset()
- func (x *AccountDebited) String() string
- type Authenticate
- type Authenticated
- 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 DebitAccount
- func (*DebitAccount) Descriptor() ([]byte, []int)deprecated
- func (x *DebitAccount) GetAccountId() string
- func (x *DebitAccount) GetBalance() float64
- func (*DebitAccount) ProtoMessage()
- func (x *DebitAccount) ProtoReflect() protoreflect.Message
- func (x *DebitAccount) Reset()
- func (x *DebitAccount) 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 Logout
- type Ping
- type Pong
Constants ¶
This section is empty.
Variables ¶
var File_sample_sample_proto protoreflect.FileDescriptor
var File_sample_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 AccountDebited ¶
type AccountDebited 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 (*AccountDebited) Descriptor
deprecated
func (*AccountDebited) Descriptor() ([]byte, []int)
Deprecated: Use AccountDebited.ProtoReflect.Descriptor instead.
func (*AccountDebited) GetAccountBalance ¶
func (x *AccountDebited) GetAccountBalance() float64
func (*AccountDebited) GetAccountId ¶
func (x *AccountDebited) GetAccountId() string
func (*AccountDebited) ProtoMessage ¶
func (*AccountDebited) ProtoMessage()
func (*AccountDebited) ProtoReflect ¶
func (x *AccountDebited) ProtoReflect() protoreflect.Message
func (*AccountDebited) Reset ¶
func (x *AccountDebited) Reset()
func (*AccountDebited) String ¶
func (x *AccountDebited) String() string
type Authenticate ¶
type Authenticate struct {
// contains filtered or unexported fields
}
func (*Authenticate) Descriptor
deprecated
func (*Authenticate) Descriptor() ([]byte, []int)
Deprecated: Use Authenticate.ProtoReflect.Descriptor instead.
func (*Authenticate) ProtoMessage ¶
func (*Authenticate) ProtoMessage()
func (*Authenticate) ProtoReflect ¶
func (x *Authenticate) ProtoReflect() protoreflect.Message
func (*Authenticate) Reset ¶
func (x *Authenticate) Reset()
func (*Authenticate) String ¶
func (x *Authenticate) String() string
type Authenticated ¶
type Authenticated struct {
// contains filtered or unexported fields
}
func (*Authenticated) Descriptor
deprecated
func (*Authenticated) Descriptor() ([]byte, []int)
Deprecated: Use Authenticated.ProtoReflect.Descriptor instead.
func (*Authenticated) ProtoMessage ¶
func (*Authenticated) ProtoMessage()
func (*Authenticated) ProtoReflect ¶
func (x *Authenticated) ProtoReflect() protoreflect.Message
func (*Authenticated) Reset ¶
func (x *Authenticated) Reset()
func (*Authenticated) String ¶
func (x *Authenticated) 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 ¶
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
func (*CreateAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.
func (*CreateAccountRequest) GetCreateAccount ¶
func (x *CreateAccountRequest) GetCreateAccount() *CreateAccount
func (*CreateAccountRequest) ProtoMessage ¶
func (*CreateAccountRequest) ProtoMessage()
func (*CreateAccountRequest) ProtoReflect ¶
func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message
func (*CreateAccountRequest) Reset ¶
func (x *CreateAccountRequest) Reset()
func (*CreateAccountRequest) String ¶
func (x *CreateAccountRequest) String() string
type CreateAccountResponse ¶
type CreateAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*CreateAccountResponse) Descriptor
deprecated
func (*CreateAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.
func (*CreateAccountResponse) GetAccount ¶
func (x *CreateAccountResponse) GetAccount() *Account
func (*CreateAccountResponse) ProtoMessage ¶
func (*CreateAccountResponse) ProtoMessage()
func (*CreateAccountResponse) ProtoReflect ¶
func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message
func (*CreateAccountResponse) Reset ¶
func (x *CreateAccountResponse) Reset()
func (*CreateAccountResponse) String ¶
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 ¶
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
func (*CreditAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreditAccountRequest.ProtoReflect.Descriptor instead.
func (*CreditAccountRequest) GetCreditAccount ¶
func (x *CreditAccountRequest) GetCreditAccount() *CreditAccount
func (*CreditAccountRequest) ProtoMessage ¶
func (*CreditAccountRequest) ProtoMessage()
func (*CreditAccountRequest) ProtoReflect ¶
func (x *CreditAccountRequest) ProtoReflect() protoreflect.Message
func (*CreditAccountRequest) Reset ¶
func (x *CreditAccountRequest) Reset()
func (*CreditAccountRequest) String ¶
func (x *CreditAccountRequest) String() string
type CreditAccountResponse ¶
type CreditAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*CreditAccountResponse) Descriptor
deprecated
func (*CreditAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreditAccountResponse.ProtoReflect.Descriptor instead.
func (*CreditAccountResponse) GetAccount ¶
func (x *CreditAccountResponse) GetAccount() *Account
func (*CreditAccountResponse) ProtoMessage ¶
func (*CreditAccountResponse) ProtoMessage()
func (*CreditAccountResponse) ProtoReflect ¶
func (x *CreditAccountResponse) ProtoReflect() protoreflect.Message
func (*CreditAccountResponse) Reset ¶
func (x *CreditAccountResponse) Reset()
func (*CreditAccountResponse) String ¶
func (x *CreditAccountResponse) String() string
type DebitAccount ¶
type DebitAccount 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 (*DebitAccount) Descriptor
deprecated
func (*DebitAccount) Descriptor() ([]byte, []int)
Deprecated: Use DebitAccount.ProtoReflect.Descriptor instead.
func (*DebitAccount) GetAccountId ¶
func (x *DebitAccount) GetAccountId() string
func (*DebitAccount) GetBalance ¶
func (x *DebitAccount) GetBalance() float64
func (*DebitAccount) ProtoMessage ¶
func (*DebitAccount) ProtoMessage()
func (*DebitAccount) ProtoReflect ¶
func (x *DebitAccount) ProtoReflect() protoreflect.Message
func (*DebitAccount) Reset ¶
func (x *DebitAccount) Reset()
func (*DebitAccount) String ¶
func (x *DebitAccount) String() string
type GetAccount ¶
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
func (*GetAccount) Descriptor() ([]byte, []int)
Deprecated: Use GetAccount.ProtoReflect.Descriptor instead.
func (*GetAccount) GetAccountId ¶
func (x *GetAccount) GetAccountId() string
func (*GetAccount) ProtoMessage ¶
func (*GetAccount) ProtoMessage()
func (*GetAccount) ProtoReflect ¶
func (x *GetAccount) ProtoReflect() protoreflect.Message
func (*GetAccount) Reset ¶
func (x *GetAccount) Reset()
func (*GetAccount) String ¶
func (x *GetAccount) String() string
type GetAccountRequest ¶
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
func (*GetAccountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.
func (*GetAccountRequest) GetAccountId ¶
func (x *GetAccountRequest) GetAccountId() string
func (*GetAccountRequest) ProtoMessage ¶
func (*GetAccountRequest) ProtoMessage()
func (*GetAccountRequest) ProtoReflect ¶
func (x *GetAccountRequest) ProtoReflect() protoreflect.Message
func (*GetAccountRequest) Reset ¶
func (x *GetAccountRequest) Reset()
func (*GetAccountRequest) String ¶
func (x *GetAccountRequest) String() string
type GetAccountResponse ¶
type GetAccountResponse struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*GetAccountResponse) Descriptor
deprecated
func (*GetAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.
func (*GetAccountResponse) GetAccount ¶
func (x *GetAccountResponse) GetAccount() *Account
func (*GetAccountResponse) ProtoMessage ¶
func (*GetAccountResponse) ProtoMessage()
func (*GetAccountResponse) ProtoReflect ¶
func (x *GetAccountResponse) ProtoReflect() protoreflect.Message
func (*GetAccountResponse) Reset ¶
func (x *GetAccountResponse) Reset()
func (*GetAccountResponse) String ¶
func (x *GetAccountResponse) String() string
type Logout ¶
type Logout struct {
// contains filtered or unexported fields
}
func (*Logout) Descriptor
deprecated
func (*Logout) ProtoMessage ¶
func (*Logout) ProtoMessage()
func (*Logout) ProtoReflect ¶
func (x *Logout) ProtoReflect() protoreflect.Message
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