samplepb

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_v1_sample_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) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountBalance

func (x *Account) GetAccountBalance() float64

func (*Account) GetAccountId

func (x *Account) GetAccountId() string

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

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 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 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) Descriptor() ([]byte, []int)

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetId

func (x *Ping) GetId() string

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect

func (x *Ping) ProtoReflect() protoreflect.Message

func (*Ping) Reset

func (x *Ping) Reset()

func (*Ping) String

func (x *Ping) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) GetReply

func (x *Pong) GetReply() string

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect

func (x *Pong) ProtoReflect() protoreflect.Message

func (*Pong) Reset

func (x *Pong) Reset()

func (*Pong) String

func (x *Pong) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL