Documentation
¶
Index ¶
- Variables
- type Account
- func (*Account) Descriptor() ([]byte, []int)
- func (m *Account) GetScope() Scope
- func (m *Account) GetXID() string
- func (obj *Account) Key() string
- func (m *Account) Marshal() (dAtA []byte, err error)
- func (m *Account) MarshalTo(dAtA []byte) (int, error)
- func (m *Account) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Account) ProtoMessage()
- func (m *Account) Reset()
- func (m *Account) Size() (n int)
- func (m *Account) String() string
- func (m *Account) Unmarshal(dAtA []byte) error
- func (obj *Account) ValidateBasic() error
- 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 ID
- type Payment
- func (obj *Payment) Account() Account
- func (*Payment) Descriptor() ([]byte, []int)
- func (m *Payment) GetAID() Account
- func (m *Payment) GetXID() string
- func (obj *Payment) Key() string
- func (m *Payment) Marshal() (dAtA []byte, err error)
- func (m *Payment) MarshalTo(dAtA []byte) (int, error)
- func (m *Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Payment) ProtoMessage()
- func (m *Payment) Reset()
- func (m *Payment) Size() (n int)
- func (m *Payment) String() string
- func (m *Payment) Unmarshal(dAtA []byte) error
- func (obj *Payment) ValidateBasic() error
- func (m *Payment) XXX_DiscardUnknown()
- func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payment) XXX_Merge(src proto.Message)
- func (m *Payment) XXX_Size() int
- func (m *Payment) XXX_Unmarshal(b []byte) error
- type Scope
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthId = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowId = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupId = fmt.Errorf("proto: unexpected end of group") )
View Source
var Scope_name = map[int32]string{
0: "invalid",
1: "deployment",
2: "bid",
}
View Source
var Scope_value = map[string]int32{
"invalid": 0,
"deployment": 1,
"bid": 2,
}
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
Scope Scope `protobuf:"varint,1,opt,name=scope,proto3,enum=akash.escrow.id.v1.Scope" json:"scope" yaml:"scope"`
XID string `protobuf:"bytes,2,opt,name=xid,proto3" json:"xid" yaml:"xid"`
}
Account is the account identifier.
func (*Account) Descriptor ¶
func (*Account) MarshalToSizedBuffer ¶
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ValidateBasic ¶
func (*Account) XXX_DiscardUnknown ¶
func (m *Account) XXX_DiscardUnknown()
func (*Account) XXX_Marshal ¶
func (*Account) XXX_Unmarshal ¶
type Payment ¶
type Payment struct {
AID Account `protobuf:"bytes,1,opt,name=aid,proto3" json:"aid" yaml:"aid"`
XID string `protobuf:"bytes,2,opt,name=xid,proto3" json:"xid" yaml:"xid"`
}
Payment is the payment identifier.
func (*Payment) Descriptor ¶
func (*Payment) MarshalToSizedBuffer ¶
func (*Payment) ProtoMessage ¶
func (*Payment) ProtoMessage()
func (*Payment) ValidateBasic ¶
func (*Payment) XXX_DiscardUnknown ¶
func (m *Payment) XXX_DiscardUnknown()
func (*Payment) XXX_Marshal ¶
func (*Payment) XXX_Unmarshal ¶
type Scope ¶
type Scope int32
Scope is an enum which refers to the account scope
func (Scope) EnumDescriptor ¶
Click to show internal directories.
Click to hide internal directories.