Documentation ¶
Index ¶
- Variables
- type Flow
- func (*Flow) Descriptor() ([]byte, []int)
- func (m *Flow) Marshal() (dAtA []byte, err error)
- func (m *Flow) MarshalTo(dAtA []byte) (int, error)
- func (m *Flow) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Flow) ProtoMessage()
- func (m *Flow) Reset()
- func (m *Flow) Size() (n int)
- func (m *Flow) String() string
- func (m *Flow) Unmarshal(dAtA []byte) error
- func (m *Flow) XXX_DiscardUnknown()
- func (m *Flow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Flow) XXX_Merge(src proto.Message)
- func (m *Flow) XXX_Size() int
- func (m *Flow) XXX_Unmarshal(b []byte) error
- type PacketDirection
- type Path
- func (*Path) Descriptor() ([]byte, []int)
- func (m *Path) GetChannelId() string
- func (m *Path) GetDenom() string
- func (m *Path) Marshal() (dAtA []byte, err error)
- func (m *Path) MarshalTo(dAtA []byte) (int, error)
- func (m *Path) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Path) ProtoMessage()
- func (m *Path) Reset()
- func (m *Path) Size() (n int)
- func (m *Path) String() string
- func (m *Path) Unmarshal(dAtA []byte) error
- func (m *Path) XXX_DiscardUnknown()
- func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Path) XXX_Merge(src proto.Message)
- func (m *Path) XXX_Size() int
- func (m *Path) XXX_Unmarshal(b []byte) error
- type Quota
- func (*Quota) Descriptor() ([]byte, []int)
- func (m *Quota) GetDurationHours() uint64
- func (m *Quota) Marshal() (dAtA []byte, err error)
- func (m *Quota) MarshalTo(dAtA []byte) (int, error)
- func (m *Quota) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Quota) ProtoMessage()
- func (m *Quota) Reset()
- func (m *Quota) Size() (n int)
- func (m *Quota) String() string
- func (m *Quota) Unmarshal(dAtA []byte) error
- func (m *Quota) XXX_DiscardUnknown()
- func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Quota) XXX_Merge(src proto.Message)
- func (m *Quota) XXX_Size() int
- func (m *Quota) XXX_Unmarshal(b []byte) error
- type RateLimit
- func (*RateLimit) Descriptor() ([]byte, []int)
- func (m *RateLimit) GetFlow() *Flow
- func (m *RateLimit) GetPath() *Path
- func (m *RateLimit) GetQuota() *Quota
- func (m *RateLimit) Marshal() (dAtA []byte, err error)
- func (m *RateLimit) MarshalTo(dAtA []byte) (int, error)
- func (m *RateLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RateLimit) ProtoMessage()
- func (m *RateLimit) Reset()
- func (m *RateLimit) Size() (n int)
- func (m *RateLimit) String() string
- func (m *RateLimit) Unmarshal(dAtA []byte) error
- func (m *RateLimit) XXX_DiscardUnknown()
- func (m *RateLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RateLimit) XXX_Merge(src proto.Message)
- func (m *RateLimit) XXX_Size() int
- func (m *RateLimit) XXX_Unmarshal(b []byte) error
- type WhitelistedAddressPair
- func (*WhitelistedAddressPair) Descriptor() ([]byte, []int)
- func (m *WhitelistedAddressPair) GetReceiver() string
- func (m *WhitelistedAddressPair) GetSender() string
- func (m *WhitelistedAddressPair) Marshal() (dAtA []byte, err error)
- func (m *WhitelistedAddressPair) MarshalTo(dAtA []byte) (int, error)
- func (m *WhitelistedAddressPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhitelistedAddressPair) ProtoMessage()
- func (m *WhitelistedAddressPair) Reset()
- func (m *WhitelistedAddressPair) Size() (n int)
- func (m *WhitelistedAddressPair) String() string
- func (m *WhitelistedAddressPair) Unmarshal(dAtA []byte) error
- func (m *WhitelistedAddressPair) XXX_DiscardUnknown()
- func (m *WhitelistedAddressPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhitelistedAddressPair) XXX_Merge(src proto.Message)
- func (m *WhitelistedAddressPair) XXX_Size() int
- func (m *WhitelistedAddressPair) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthRatelimit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRatelimit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRatelimit = fmt.Errorf("proto: unexpected end of group") )
View Source
var PacketDirection_name = map[int32]string{
0: "PACKET_SEND",
1: "PACKET_RECV",
}
View Source
var PacketDirection_value = map[string]int32{
"PACKET_SEND": 0,
"PACKET_RECV": 1,
}
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow struct { Inflow github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=inflow,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"inflow"` Outflow github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=outflow,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"outflow"` ChannelValue github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ }
func (*Flow) Descriptor ¶
func (*Flow) ProtoMessage ¶
func (*Flow) ProtoMessage()
func (*Flow) XXX_DiscardUnknown ¶
func (m *Flow) XXX_DiscardUnknown()
func (*Flow) XXX_Unmarshal ¶
type PacketDirection ¶
type PacketDirection int32
const ( PACKET_SEND PacketDirection = 0 PACKET_RECV PacketDirection = 1 )
func (PacketDirection) EnumDescriptor ¶
func (PacketDirection) EnumDescriptor() ([]byte, []int)
func (PacketDirection) String ¶
func (x PacketDirection) String() string
type Path ¶
type Path struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` }
func (*Path) Descriptor ¶
func (*Path) GetChannelId ¶
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) XXX_DiscardUnknown ¶
func (m *Path) XXX_DiscardUnknown()
func (*Path) XXX_Unmarshal ¶
type Quota ¶
type Quota struct { MaxPercentSend github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */ MaxPercentRecv github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */ DurationHours uint64 `protobuf:"varint,3,opt,name=duration_hours,json=durationHours,proto3" json:"duration_hours,omitempty"` }
func (*Quota) Descriptor ¶
func (*Quota) GetDurationHours ¶
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) XXX_DiscardUnknown ¶
func (m *Quota) XXX_DiscardUnknown()
func (*Quota) XXX_Marshal ¶
func (*Quota) XXX_Unmarshal ¶
type RateLimit ¶
type RateLimit struct { Path *Path `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Quota *Quota `protobuf:"bytes,2,opt,name=quota,proto3" json:"quota,omitempty"` Flow *Flow `protobuf:"bytes,3,opt,name=flow,proto3" json:"flow,omitempty"` }
func (*RateLimit) Descriptor ¶
func (*RateLimit) MarshalToSizedBuffer ¶
func (*RateLimit) ProtoMessage ¶
func (*RateLimit) ProtoMessage()
func (*RateLimit) XXX_DiscardUnknown ¶
func (m *RateLimit) XXX_DiscardUnknown()
func (*RateLimit) XXX_Marshal ¶
func (*RateLimit) XXX_Unmarshal ¶
type WhitelistedAddressPair ¶
type WhitelistedAddressPair struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"` }
func (*WhitelistedAddressPair) Descriptor ¶
func (*WhitelistedAddressPair) Descriptor() ([]byte, []int)
func (*WhitelistedAddressPair) GetReceiver ¶
func (m *WhitelistedAddressPair) GetReceiver() string
func (*WhitelistedAddressPair) GetSender ¶
func (m *WhitelistedAddressPair) GetSender() string
func (*WhitelistedAddressPair) Marshal ¶
func (m *WhitelistedAddressPair) Marshal() (dAtA []byte, err error)
func (*WhitelistedAddressPair) MarshalTo ¶
func (m *WhitelistedAddressPair) MarshalTo(dAtA []byte) (int, error)
func (*WhitelistedAddressPair) MarshalToSizedBuffer ¶
func (m *WhitelistedAddressPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhitelistedAddressPair) ProtoMessage ¶
func (*WhitelistedAddressPair) ProtoMessage()
func (*WhitelistedAddressPair) Reset ¶
func (m *WhitelistedAddressPair) Reset()
func (*WhitelistedAddressPair) Size ¶
func (m *WhitelistedAddressPair) Size() (n int)
func (*WhitelistedAddressPair) String ¶
func (m *WhitelistedAddressPair) String() string
func (*WhitelistedAddressPair) Unmarshal ¶
func (m *WhitelistedAddressPair) Unmarshal(dAtA []byte) error
func (*WhitelistedAddressPair) XXX_DiscardUnknown ¶
func (m *WhitelistedAddressPair) XXX_DiscardUnknown()
func (*WhitelistedAddressPair) XXX_Marshal ¶
func (m *WhitelistedAddressPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhitelistedAddressPair) XXX_Merge ¶
func (m *WhitelistedAddressPair) XXX_Merge(src proto.Message)
func (*WhitelistedAddressPair) XXX_Size ¶
func (m *WhitelistedAddressPair) XXX_Size() int
func (*WhitelistedAddressPair) XXX_Unmarshal ¶
func (m *WhitelistedAddressPair) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.