Documentation ¶
Index ¶
- Variables
- type Bandwidth
- func (b Bandwidth) Add(v Bandwidth) Bandwidth
- func (b Bandwidth) CeilTo(pre sdkmath.Int) Bandwidth
- func (*Bandwidth) Descriptor() ([]byte, []int)
- func (b Bandwidth) IsAllLTE(v Bandwidth) bool
- func (b Bandwidth) IsAllPositive() bool
- func (b Bandwidth) IsAllZero() bool
- func (b Bandwidth) IsAnyGT(v Bandwidth) bool
- func (b Bandwidth) IsAnyNegative() bool
- func (b Bandwidth) IsAnyNil() bool
- func (b Bandwidth) IsAnyZero() bool
- func (m *Bandwidth) Marshal() (dAtA []byte, err error)
- func (m *Bandwidth) MarshalTo(dAtA []byte) (int, error)
- func (m *Bandwidth) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Bandwidth) ProtoMessage()
- func (m *Bandwidth) Reset()
- func (m *Bandwidth) Size() (n int)
- func (m *Bandwidth) String() string
- func (b Bandwidth) Sub(v Bandwidth) Bandwidth
- func (b Bandwidth) Sum() sdkmath.Int
- func (m *Bandwidth) Unmarshal(dAtA []byte) error
- func (m *Bandwidth) XXX_DiscardUnknown()
- func (m *Bandwidth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bandwidth) XXX_Merge(src proto.Message)
- func (m *Bandwidth) XXX_Size() int
- func (m *Bandwidth) XXX_Unmarshal(b []byte) error
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthBandwidth = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBandwidth = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBandwidth = fmt.Errorf("proto: unexpected end of group") )
View Source
var Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_ACTIVE",
2: "STATUS_INACTIVE_PENDING",
3: "STATUS_INACTIVE",
}
View Source
var Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_ACTIVE": 1,
"STATUS_INACTIVE_PENDING": 2,
"STATUS_INACTIVE": 3,
}
Functions ¶
This section is empty.
Types ¶
type Bandwidth ¶
type Bandwidth struct { Upload cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=upload,proto3,customtype=cosmossdk.io/math.Int" json:"upload"` Download cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=download,proto3,customtype=cosmossdk.io/math.Int" json:"download"` }
func NewBandwidth ¶
func NewBandwidthFromInt64 ¶
func (*Bandwidth) Descriptor ¶
func (Bandwidth) IsAllPositive ¶
func (Bandwidth) IsAnyNegative ¶
func (*Bandwidth) MarshalToSizedBuffer ¶
func (*Bandwidth) ProtoMessage ¶
func (*Bandwidth) ProtoMessage()
func (*Bandwidth) XXX_DiscardUnknown ¶
func (m *Bandwidth) XXX_DiscardUnknown()
func (*Bandwidth) XXX_Marshal ¶
func (*Bandwidth) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.