Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)
- func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
- func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
- func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
- type EventAddQuota
- func (*EventAddQuota) Descriptor() ([]byte, []int)
- func (m *EventAddQuota) Marshal() (dAtA []byte, err error)
- func (m *EventAddQuota) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAddQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAddQuota) ProtoMessage()
- func (m *EventAddQuota) Reset()
- func (m *EventAddQuota) Size() (n int)
- func (m *EventAddQuota) String() string
- func (m *EventAddQuota) Unmarshal(dAtA []byte) error
- func (m *EventAddQuota) XXX_DiscardUnknown()
- func (m *EventAddQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAddQuota) XXX_Merge(src proto.Message)
- func (m *EventAddQuota) XXX_Size() int
- func (m *EventAddQuota) XXX_Unmarshal(b []byte) error
- type EventSetStatus
- func (*EventSetStatus) Descriptor() ([]byte, []int)
- func (m *EventSetStatus) Marshal() (dAtA []byte, err error)
- func (m *EventSetStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSetStatus) ProtoMessage()
- func (m *EventSetStatus) Reset()
- func (m *EventSetStatus) Size() (n int)
- func (m *EventSetStatus) String() string
- func (m *EventSetStatus) Unmarshal(dAtA []byte) error
- func (m *EventSetStatus) XXX_DiscardUnknown()
- func (m *EventSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSetStatus) XXX_Merge(src proto.Message)
- func (m *EventSetStatus) XXX_Size() int
- func (m *EventSetStatus) XXX_Unmarshal(b []byte) error
- type EventSubscribe
- func (*EventSubscribe) Descriptor() ([]byte, []int)
- func (m *EventSubscribe) Marshal() (dAtA []byte, err error)
- func (m *EventSubscribe) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSubscribe) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSubscribe) ProtoMessage()
- func (m *EventSubscribe) Reset()
- func (m *EventSubscribe) Size() (n int)
- func (m *EventSubscribe) String() string
- func (m *EventSubscribe) Unmarshal(dAtA []byte) error
- func (m *EventSubscribe) XXX_DiscardUnknown()
- func (m *EventSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSubscribe) XXX_Merge(src proto.Message)
- func (m *EventSubscribe) XXX_Size() int
- func (m *EventSubscribe) XXX_Unmarshal(b []byte) error
- type EventUpdateQuota
- func (*EventUpdateQuota) Descriptor() ([]byte, []int)
- func (m *EventUpdateQuota) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateQuota) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateQuota) ProtoMessage()
- func (m *EventUpdateQuota) Reset()
- func (m *EventUpdateQuota) Size() (n int)
- func (m *EventUpdateQuota) String() string
- func (m *EventUpdateQuota) Unmarshal(dAtA []byte) error
- func (m *EventUpdateQuota) XXX_DiscardUnknown()
- func (m *EventUpdateQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateQuota) XXX_Merge(src proto.Message)
- func (m *EventUpdateQuota) XXX_Size() int
- func (m *EventUpdateQuota) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GenesisSubscription
- func (*GenesisSubscription) Descriptor() ([]byte, []int)
- func (m *GenesisSubscription) Marshal() (dAtA []byte, err error)
- func (m *GenesisSubscription) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisSubscription) ProtoMessage()
- func (m *GenesisSubscription) Reset()
- func (m *GenesisSubscription) Size() (n int)
- func (m *GenesisSubscription) String() string
- func (m *GenesisSubscription) Unmarshal(dAtA []byte) error
- func (m *GenesisSubscription) XXX_DiscardUnknown()
- func (m *GenesisSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisSubscription) XXX_Merge(src proto.Message)
- func (m *GenesisSubscription) XXX_Size() int
- func (m *GenesisSubscription) XXX_Unmarshal(b []byte) error
- type MsgAddQuotaRequest
- func (*MsgAddQuotaRequest) Descriptor() ([]byte, []int)
- func (m *MsgAddQuotaRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddQuotaRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddQuotaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddQuotaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddQuotaRequest) ProtoMessage()
- func (m *MsgAddQuotaRequest) Reset()
- func (m *MsgAddQuotaRequest) Size() (n int)
- func (m *MsgAddQuotaRequest) String() string
- func (m *MsgAddQuotaRequest) Unmarshal(dAtA []byte) error
- func (m *MsgAddQuotaRequest) ValidateBasic() error
- func (m *MsgAddQuotaRequest) XXX_DiscardUnknown()
- func (m *MsgAddQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddQuotaRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddQuotaRequest) XXX_Size() int
- func (m *MsgAddQuotaRequest) XXX_Unmarshal(b []byte) error
- type MsgAddQuotaResponse
- func (*MsgAddQuotaResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddQuotaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddQuotaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddQuotaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddQuotaResponse) ProtoMessage()
- func (m *MsgAddQuotaResponse) Reset()
- func (m *MsgAddQuotaResponse) Size() (n int)
- func (m *MsgAddQuotaResponse) String() string
- func (m *MsgAddQuotaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddQuotaResponse) XXX_DiscardUnknown()
- func (m *MsgAddQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddQuotaResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddQuotaResponse) XXX_Size() int
- func (m *MsgAddQuotaResponse) XXX_Unmarshal(b []byte) error
- type MsgCancelRequest
- func (*MsgCancelRequest) Descriptor() ([]byte, []int)
- func (m *MsgCancelRequest) GetSigners() []sdk.AccAddress
- func (m *MsgCancelRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelRequest) ProtoMessage()
- func (m *MsgCancelRequest) Reset()
- func (m *MsgCancelRequest) Size() (n int)
- func (m *MsgCancelRequest) String() string
- func (m *MsgCancelRequest) Unmarshal(dAtA []byte) error
- func (m *MsgCancelRequest) ValidateBasic() error
- func (m *MsgCancelRequest) XXX_DiscardUnknown()
- func (m *MsgCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelRequest) XXX_Merge(src proto.Message)
- func (m *MsgCancelRequest) XXX_Size() int
- func (m *MsgCancelRequest) XXX_Unmarshal(b []byte) error
- type MsgCancelResponse
- func (*MsgCancelResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelResponse) ProtoMessage()
- func (m *MsgCancelResponse) Reset()
- func (m *MsgCancelResponse) Size() (n int)
- func (m *MsgCancelResponse) String() string
- func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelResponse) XXX_DiscardUnknown()
- func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelResponse) XXX_Size() int
- func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error
- type MsgServiceClient
- type MsgServiceServer
- type MsgSubscribeToNodeRequest
- func (*MsgSubscribeToNodeRequest) Descriptor() ([]byte, []int)
- func (m *MsgSubscribeToNodeRequest) GetSigners() []sdk.AccAddress
- func (m *MsgSubscribeToNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgSubscribeToNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubscribeToNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubscribeToNodeRequest) ProtoMessage()
- func (m *MsgSubscribeToNodeRequest) Reset()
- func (m *MsgSubscribeToNodeRequest) Size() (n int)
- func (m *MsgSubscribeToNodeRequest) String() string
- func (m *MsgSubscribeToNodeRequest) Unmarshal(dAtA []byte) error
- func (m *MsgSubscribeToNodeRequest) ValidateBasic() error
- func (m *MsgSubscribeToNodeRequest) XXX_DiscardUnknown()
- func (m *MsgSubscribeToNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubscribeToNodeRequest) XXX_Merge(src proto.Message)
- func (m *MsgSubscribeToNodeRequest) XXX_Size() int
- func (m *MsgSubscribeToNodeRequest) XXX_Unmarshal(b []byte) error
- type MsgSubscribeToNodeResponse
- func (*MsgSubscribeToNodeResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubscribeToNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubscribeToNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubscribeToNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubscribeToNodeResponse) ProtoMessage()
- func (m *MsgSubscribeToNodeResponse) Reset()
- func (m *MsgSubscribeToNodeResponse) Size() (n int)
- func (m *MsgSubscribeToNodeResponse) String() string
- func (m *MsgSubscribeToNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubscribeToNodeResponse) XXX_DiscardUnknown()
- func (m *MsgSubscribeToNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubscribeToNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubscribeToNodeResponse) XXX_Size() int
- func (m *MsgSubscribeToNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgSubscribeToPlanRequest
- func (*MsgSubscribeToPlanRequest) Descriptor() ([]byte, []int)
- func (m *MsgSubscribeToPlanRequest) GetSigners() []sdk.AccAddress
- func (m *MsgSubscribeToPlanRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgSubscribeToPlanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubscribeToPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubscribeToPlanRequest) ProtoMessage()
- func (m *MsgSubscribeToPlanRequest) Reset()
- func (m *MsgSubscribeToPlanRequest) Size() (n int)
- func (m *MsgSubscribeToPlanRequest) String() string
- func (m *MsgSubscribeToPlanRequest) Unmarshal(dAtA []byte) error
- func (m *MsgSubscribeToPlanRequest) ValidateBasic() error
- func (m *MsgSubscribeToPlanRequest) XXX_DiscardUnknown()
- func (m *MsgSubscribeToPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubscribeToPlanRequest) XXX_Merge(src proto.Message)
- func (m *MsgSubscribeToPlanRequest) XXX_Size() int
- func (m *MsgSubscribeToPlanRequest) XXX_Unmarshal(b []byte) error
- type MsgSubscribeToPlanResponse
- func (*MsgSubscribeToPlanResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubscribeToPlanResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubscribeToPlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubscribeToPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubscribeToPlanResponse) ProtoMessage()
- func (m *MsgSubscribeToPlanResponse) Reset()
- func (m *MsgSubscribeToPlanResponse) Size() (n int)
- func (m *MsgSubscribeToPlanResponse) String() string
- func (m *MsgSubscribeToPlanResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubscribeToPlanResponse) XXX_DiscardUnknown()
- func (m *MsgSubscribeToPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubscribeToPlanResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubscribeToPlanResponse) XXX_Size() int
- func (m *MsgSubscribeToPlanResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateQuotaRequest
- func (*MsgUpdateQuotaRequest) Descriptor() ([]byte, []int)
- func (m *MsgUpdateQuotaRequest) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateQuotaRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateQuotaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateQuotaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateQuotaRequest) ProtoMessage()
- func (m *MsgUpdateQuotaRequest) Reset()
- func (m *MsgUpdateQuotaRequest) Size() (n int)
- func (m *MsgUpdateQuotaRequest) String() string
- func (m *MsgUpdateQuotaRequest) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateQuotaRequest) ValidateBasic() error
- func (m *MsgUpdateQuotaRequest) XXX_DiscardUnknown()
- func (m *MsgUpdateQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateQuotaRequest) XXX_Merge(src proto.Message)
- func (m *MsgUpdateQuotaRequest) XXX_Size() int
- func (m *MsgUpdateQuotaRequest) XXX_Unmarshal(b []byte) error
- type MsgUpdateQuotaResponse
- func (*MsgUpdateQuotaResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateQuotaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateQuotaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateQuotaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateQuotaResponse) ProtoMessage()
- func (m *MsgUpdateQuotaResponse) Reset()
- func (m *MsgUpdateQuotaResponse) Size() (n int)
- func (m *MsgUpdateQuotaResponse) String() string
- func (m *MsgUpdateQuotaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateQuotaResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateQuotaResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateQuotaResponse) XXX_Size() int
- func (m *MsgUpdateQuotaResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryQuotaRequest
- func (*QueryQuotaRequest) Descriptor() ([]byte, []int)
- func (m *QueryQuotaRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryQuotaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQuotaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQuotaRequest) ProtoMessage()
- func (m *QueryQuotaRequest) Reset()
- func (m *QueryQuotaRequest) Size() (n int)
- func (m *QueryQuotaRequest) String() string
- func (m *QueryQuotaRequest) Unmarshal(dAtA []byte) error
- func (m *QueryQuotaRequest) XXX_DiscardUnknown()
- func (m *QueryQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQuotaRequest) XXX_Merge(src proto.Message)
- func (m *QueryQuotaRequest) XXX_Size() int
- func (m *QueryQuotaRequest) XXX_Unmarshal(b []byte) error
- type QueryQuotaResponse
- func (*QueryQuotaResponse) Descriptor() ([]byte, []int)
- func (m *QueryQuotaResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryQuotaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQuotaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQuotaResponse) ProtoMessage()
- func (m *QueryQuotaResponse) Reset()
- func (m *QueryQuotaResponse) Size() (n int)
- func (m *QueryQuotaResponse) String() string
- func (m *QueryQuotaResponse) Unmarshal(dAtA []byte) error
- func (m *QueryQuotaResponse) XXX_DiscardUnknown()
- func (m *QueryQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQuotaResponse) XXX_Merge(src proto.Message)
- func (m *QueryQuotaResponse) XXX_Size() int
- func (m *QueryQuotaResponse) XXX_Unmarshal(b []byte) error
- type QueryQuotasRequest
- func (*QueryQuotasRequest) Descriptor() ([]byte, []int)
- func (m *QueryQuotasRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryQuotasRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQuotasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQuotasRequest) ProtoMessage()
- func (m *QueryQuotasRequest) Reset()
- func (m *QueryQuotasRequest) Size() (n int)
- func (m *QueryQuotasRequest) String() string
- func (m *QueryQuotasRequest) Unmarshal(dAtA []byte) error
- func (m *QueryQuotasRequest) XXX_DiscardUnknown()
- func (m *QueryQuotasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQuotasRequest) XXX_Merge(src proto.Message)
- func (m *QueryQuotasRequest) XXX_Size() int
- func (m *QueryQuotasRequest) XXX_Unmarshal(b []byte) error
- type QueryQuotasResponse
- func (*QueryQuotasResponse) Descriptor() ([]byte, []int)
- func (m *QueryQuotasResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryQuotasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryQuotasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryQuotasResponse) ProtoMessage()
- func (m *QueryQuotasResponse) Reset()
- func (m *QueryQuotasResponse) Size() (n int)
- func (m *QueryQuotasResponse) String() string
- func (m *QueryQuotasResponse) Unmarshal(dAtA []byte) error
- func (m *QueryQuotasResponse) XXX_DiscardUnknown()
- func (m *QueryQuotasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryQuotasResponse) XXX_Merge(src proto.Message)
- func (m *QueryQuotasResponse) XXX_Size() int
- func (m *QueryQuotasResponse) XXX_Unmarshal(b []byte) error
- type QueryServiceClient
- type QueryServiceServer
- type QuerySubscriptionRequest
- func (*QuerySubscriptionRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionRequest) ProtoMessage()
- func (m *QuerySubscriptionRequest) Reset()
- func (m *QuerySubscriptionRequest) Size() (n int)
- func (m *QuerySubscriptionRequest) String() string
- func (m *QuerySubscriptionRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionRequest) XXX_DiscardUnknown()
- func (m *QuerySubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionRequest) XXX_Size() int
- func (m *QuerySubscriptionRequest) XXX_Unmarshal(b []byte) error
- type QuerySubscriptionResponse
- func (*QuerySubscriptionResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionResponse) ProtoMessage()
- func (m *QuerySubscriptionResponse) Reset()
- func (m *QuerySubscriptionResponse) Size() (n int)
- func (m *QuerySubscriptionResponse) String() string
- func (m *QuerySubscriptionResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionResponse) XXX_DiscardUnknown()
- func (m *QuerySubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionResponse) XXX_Size() int
- func (m *QuerySubscriptionResponse) XXX_Unmarshal(b []byte) error
- type QuerySubscriptionsForAddressRequest
- func (*QuerySubscriptionsForAddressRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionsForAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionsForAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionsForAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionsForAddressRequest) ProtoMessage()
- func (m *QuerySubscriptionsForAddressRequest) Reset()
- func (m *QuerySubscriptionsForAddressRequest) Size() (n int)
- func (m *QuerySubscriptionsForAddressRequest) String() string
- func (m *QuerySubscriptionsForAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionsForAddressRequest) XXX_DiscardUnknown()
- func (m *QuerySubscriptionsForAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionsForAddressRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionsForAddressRequest) XXX_Size() int
- func (m *QuerySubscriptionsForAddressRequest) XXX_Unmarshal(b []byte) error
- type QuerySubscriptionsForAddressResponse
- func (*QuerySubscriptionsForAddressResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionsForAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionsForAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionsForAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionsForAddressResponse) ProtoMessage()
- func (m *QuerySubscriptionsForAddressResponse) Reset()
- func (m *QuerySubscriptionsForAddressResponse) Size() (n int)
- func (m *QuerySubscriptionsForAddressResponse) String() string
- func (m *QuerySubscriptionsForAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionsForAddressResponse) XXX_DiscardUnknown()
- func (m *QuerySubscriptionsForAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionsForAddressResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionsForAddressResponse) XXX_Size() int
- func (m *QuerySubscriptionsForAddressResponse) XXX_Unmarshal(b []byte) error
- type QuerySubscriptionsRequest
- func (*QuerySubscriptionsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionsRequest) ProtoMessage()
- func (m *QuerySubscriptionsRequest) Reset()
- func (m *QuerySubscriptionsRequest) Size() (n int)
- func (m *QuerySubscriptionsRequest) String() string
- func (m *QuerySubscriptionsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionsRequest) XXX_DiscardUnknown()
- func (m *QuerySubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionsRequest) XXX_Size() int
- func (m *QuerySubscriptionsRequest) XXX_Unmarshal(b []byte) error
- type QuerySubscriptionsResponse
- func (*QuerySubscriptionsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionsResponse) ProtoMessage()
- func (m *QuerySubscriptionsResponse) Reset()
- func (m *QuerySubscriptionsResponse) Size() (n int)
- func (m *QuerySubscriptionsResponse) String() string
- func (m *QuerySubscriptionsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionsResponse) XXX_DiscardUnknown()
- func (m *QuerySubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionsResponse) XXX_Size() int
- func (m *QuerySubscriptionsResponse) XXX_Unmarshal(b []byte) error
- type Quota
- func (*Quota) Descriptor() ([]byte, []int)
- 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 Subscription
- func (*Subscription) Descriptor() ([]byte, []int)
- func (m *Subscription) Marshal() (dAtA []byte, err error)
- func (m *Subscription) MarshalTo(dAtA []byte) (int, error)
- func (m *Subscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Subscription) ProtoMessage()
- func (m *Subscription) Reset()
- func (m *Subscription) Size() (n int)
- func (m *Subscription) String() string
- func (m *Subscription) Unmarshal(dAtA []byte) error
- func (m *Subscription) XXX_DiscardUnknown()
- func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subscription) XXX_Merge(src proto.Message)
- func (m *Subscription) XXX_Size() int
- func (m *Subscription) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServiceServer
- func (*UnimplementedMsgServiceServer) MsgAddQuota(ctx context.Context, req *MsgAddQuotaRequest) (*MsgAddQuotaResponse, error)
- func (*UnimplementedMsgServiceServer) MsgCancel(ctx context.Context, req *MsgCancelRequest) (*MsgCancelResponse, error)
- func (*UnimplementedMsgServiceServer) MsgSubscribeToNode(ctx context.Context, req *MsgSubscribeToNodeRequest) (*MsgSubscribeToNodeResponse, error)
- func (*UnimplementedMsgServiceServer) MsgSubscribeToPlan(ctx context.Context, req *MsgSubscribeToPlanRequest) (*MsgSubscribeToPlanResponse, error)
- func (*UnimplementedMsgServiceServer) MsgUpdateQuota(ctx context.Context, req *MsgUpdateQuotaRequest) (*MsgUpdateQuotaResponse, error)
- type UnimplementedQueryServiceServer
- func (*UnimplementedQueryServiceServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServiceServer) QueryQuota(ctx context.Context, req *QueryQuotaRequest) (*QueryQuotaResponse, error)
- func (*UnimplementedQueryServiceServer) QueryQuotas(ctx context.Context, req *QueryQuotasRequest) (*QueryQuotasResponse, error)
- func (*UnimplementedQueryServiceServer) QuerySubscription(ctx context.Context, req *QuerySubscriptionRequest) (*QuerySubscriptionResponse, error)
- func (*UnimplementedQueryServiceServer) QuerySubscriptions(ctx context.Context, req *QuerySubscriptionsRequest) (*QuerySubscriptionsResponse, error)
- func (*UnimplementedQueryServiceServer) QuerySubscriptionsForAddress(ctx context.Context, req *QuerySubscriptionsForAddressRequest) (*QuerySubscriptionsForAddressResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsg = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsg = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuerier = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuerier = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuerier = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuota = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuota = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuota = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSubscription = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSubscription = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSubscription = fmt.Errorf("proto: unexpected end of group") )
var MsgService_serviceDesc = _MsgService_serviceDesc
var QueryService_serviceDesc = _QueryService_serviceDesc
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
func RegisterMsgServiceServer ¶
func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)
func RegisterQueryServiceHandler ¶
func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQueryServiceHandler registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryServiceHandlerClient ¶
func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
RegisterQueryServiceHandlerClient registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryServiceClient" to call the correct interceptors.
func RegisterQueryServiceHandlerFromEndpoint ¶
func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryServiceHandlerFromEndpoint is same as RegisterQueryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryServiceHandlerServer ¶
func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryServiceHandlerFromEndpoint instead.
func RegisterQueryServiceServer ¶
func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
Types ¶
type EventAddQuota ¶
type EventAddQuota struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` }
func (*EventAddQuota) Descriptor ¶
func (*EventAddQuota) Descriptor() ([]byte, []int)
func (*EventAddQuota) Marshal ¶
func (m *EventAddQuota) Marshal() (dAtA []byte, err error)
func (*EventAddQuota) MarshalToSizedBuffer ¶
func (m *EventAddQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAddQuota) ProtoMessage ¶
func (*EventAddQuota) ProtoMessage()
func (*EventAddQuota) Reset ¶
func (m *EventAddQuota) Reset()
func (*EventAddQuota) Size ¶
func (m *EventAddQuota) Size() (n int)
func (*EventAddQuota) String ¶
func (m *EventAddQuota) String() string
func (*EventAddQuota) Unmarshal ¶
func (m *EventAddQuota) Unmarshal(dAtA []byte) error
func (*EventAddQuota) XXX_DiscardUnknown ¶
func (m *EventAddQuota) XXX_DiscardUnknown()
func (*EventAddQuota) XXX_Marshal ¶
func (m *EventAddQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAddQuota) XXX_Merge ¶
func (m *EventAddQuota) XXX_Merge(src proto.Message)
func (*EventAddQuota) XXX_Size ¶
func (m *EventAddQuota) XXX_Size() int
func (*EventAddQuota) XXX_Unmarshal ¶
func (m *EventAddQuota) XXX_Unmarshal(b []byte) error
type EventSetStatus ¶
type EventSetStatus struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Status v1.Status `protobuf:"varint,2,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty" yaml:"status"` }
func (*EventSetStatus) Descriptor ¶
func (*EventSetStatus) Descriptor() ([]byte, []int)
func (*EventSetStatus) Marshal ¶
func (m *EventSetStatus) Marshal() (dAtA []byte, err error)
func (*EventSetStatus) MarshalToSizedBuffer ¶
func (m *EventSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSetStatus) ProtoMessage ¶
func (*EventSetStatus) ProtoMessage()
func (*EventSetStatus) Reset ¶
func (m *EventSetStatus) Reset()
func (*EventSetStatus) Size ¶
func (m *EventSetStatus) Size() (n int)
func (*EventSetStatus) String ¶
func (m *EventSetStatus) String() string
func (*EventSetStatus) Unmarshal ¶
func (m *EventSetStatus) Unmarshal(dAtA []byte) error
func (*EventSetStatus) XXX_DiscardUnknown ¶
func (m *EventSetStatus) XXX_DiscardUnknown()
func (*EventSetStatus) XXX_Marshal ¶
func (m *EventSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSetStatus) XXX_Merge ¶
func (m *EventSetStatus) XXX_Merge(src proto.Message)
func (*EventSetStatus) XXX_Size ¶
func (m *EventSetStatus) XXX_Size() int
func (*EventSetStatus) XXX_Unmarshal ¶
func (m *EventSetStatus) XXX_Unmarshal(b []byte) error
type EventSubscribe ¶
type EventSubscribe struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty" yaml:"node"` Plan uint64 `protobuf:"varint,3,opt,name=plan,proto3" json:"plan,omitempty" yaml:"plan"` }
func (*EventSubscribe) Descriptor ¶
func (*EventSubscribe) Descriptor() ([]byte, []int)
func (*EventSubscribe) Marshal ¶
func (m *EventSubscribe) Marshal() (dAtA []byte, err error)
func (*EventSubscribe) MarshalToSizedBuffer ¶
func (m *EventSubscribe) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSubscribe) ProtoMessage ¶
func (*EventSubscribe) ProtoMessage()
func (*EventSubscribe) Reset ¶
func (m *EventSubscribe) Reset()
func (*EventSubscribe) Size ¶
func (m *EventSubscribe) Size() (n int)
func (*EventSubscribe) String ¶
func (m *EventSubscribe) String() string
func (*EventSubscribe) Unmarshal ¶
func (m *EventSubscribe) Unmarshal(dAtA []byte) error
func (*EventSubscribe) XXX_DiscardUnknown ¶
func (m *EventSubscribe) XXX_DiscardUnknown()
func (*EventSubscribe) XXX_Marshal ¶
func (m *EventSubscribe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSubscribe) XXX_Merge ¶
func (m *EventSubscribe) XXX_Merge(src proto.Message)
func (*EventSubscribe) XXX_Size ¶
func (m *EventSubscribe) XXX_Size() int
func (*EventSubscribe) XXX_Unmarshal ¶
func (m *EventSubscribe) XXX_Unmarshal(b []byte) error
type EventUpdateQuota ¶
type EventUpdateQuota struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` }
func (*EventUpdateQuota) Descriptor ¶
func (*EventUpdateQuota) Descriptor() ([]byte, []int)
func (*EventUpdateQuota) Marshal ¶
func (m *EventUpdateQuota) Marshal() (dAtA []byte, err error)
func (*EventUpdateQuota) MarshalToSizedBuffer ¶
func (m *EventUpdateQuota) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateQuota) ProtoMessage ¶
func (*EventUpdateQuota) ProtoMessage()
func (*EventUpdateQuota) Reset ¶
func (m *EventUpdateQuota) Reset()
func (*EventUpdateQuota) Size ¶
func (m *EventUpdateQuota) Size() (n int)
func (*EventUpdateQuota) String ¶
func (m *EventUpdateQuota) String() string
func (*EventUpdateQuota) Unmarshal ¶
func (m *EventUpdateQuota) Unmarshal(dAtA []byte) error
func (*EventUpdateQuota) XXX_DiscardUnknown ¶
func (m *EventUpdateQuota) XXX_DiscardUnknown()
func (*EventUpdateQuota) XXX_Marshal ¶
func (m *EventUpdateQuota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateQuota) XXX_Merge ¶
func (m *EventUpdateQuota) XXX_Merge(src proto.Message)
func (*EventUpdateQuota) XXX_Size ¶
func (m *EventUpdateQuota) XXX_Size() int
func (*EventUpdateQuota) XXX_Unmarshal ¶
func (m *EventUpdateQuota) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Subscriptions []GenesisSubscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"_,omitempty"` Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GenesisSubscription ¶
type GenesisSubscription struct { Subscription Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"_"` Quotas []Quota `protobuf:"bytes,2,rep,name=quotas,proto3" json:"quotas"` }
func (*GenesisSubscription) Descriptor ¶
func (*GenesisSubscription) Descriptor() ([]byte, []int)
func (*GenesisSubscription) Marshal ¶
func (m *GenesisSubscription) Marshal() (dAtA []byte, err error)
func (*GenesisSubscription) MarshalTo ¶
func (m *GenesisSubscription) MarshalTo(dAtA []byte) (int, error)
func (*GenesisSubscription) MarshalToSizedBuffer ¶
func (m *GenesisSubscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisSubscription) ProtoMessage ¶
func (*GenesisSubscription) ProtoMessage()
func (*GenesisSubscription) Reset ¶
func (m *GenesisSubscription) Reset()
func (*GenesisSubscription) Size ¶
func (m *GenesisSubscription) Size() (n int)
func (*GenesisSubscription) String ¶
func (m *GenesisSubscription) String() string
func (*GenesisSubscription) Unmarshal ¶
func (m *GenesisSubscription) Unmarshal(dAtA []byte) error
func (*GenesisSubscription) XXX_DiscardUnknown ¶
func (m *GenesisSubscription) XXX_DiscardUnknown()
func (*GenesisSubscription) XXX_Marshal ¶
func (m *GenesisSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisSubscription) XXX_Merge ¶
func (m *GenesisSubscription) XXX_Merge(src proto.Message)
func (*GenesisSubscription) XXX_Size ¶
func (m *GenesisSubscription) XXX_Size() int
func (*GenesisSubscription) XXX_Unmarshal ¶
func (m *GenesisSubscription) XXX_Unmarshal(b []byte) error
type MsgAddQuotaRequest ¶
type MsgAddQuotaRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Bytes github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=bytes,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bytes"` }
func (*MsgAddQuotaRequest) Descriptor ¶
func (*MsgAddQuotaRequest) Descriptor() ([]byte, []int)
func (*MsgAddQuotaRequest) GetSigners ¶
func (m *MsgAddQuotaRequest) GetSigners() []sdk.AccAddress
func (*MsgAddQuotaRequest) Marshal ¶
func (m *MsgAddQuotaRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddQuotaRequest) MarshalTo ¶
func (m *MsgAddQuotaRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddQuotaRequest) MarshalToSizedBuffer ¶
func (m *MsgAddQuotaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddQuotaRequest) ProtoMessage ¶
func (*MsgAddQuotaRequest) ProtoMessage()
func (*MsgAddQuotaRequest) Reset ¶
func (m *MsgAddQuotaRequest) Reset()
func (*MsgAddQuotaRequest) Size ¶
func (m *MsgAddQuotaRequest) Size() (n int)
func (*MsgAddQuotaRequest) String ¶
func (m *MsgAddQuotaRequest) String() string
func (*MsgAddQuotaRequest) Unmarshal ¶
func (m *MsgAddQuotaRequest) Unmarshal(dAtA []byte) error
func (*MsgAddQuotaRequest) ValidateBasic ¶
func (m *MsgAddQuotaRequest) ValidateBasic() error
func (*MsgAddQuotaRequest) XXX_DiscardUnknown ¶
func (m *MsgAddQuotaRequest) XXX_DiscardUnknown()
func (*MsgAddQuotaRequest) XXX_Marshal ¶
func (m *MsgAddQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddQuotaRequest) XXX_Merge ¶
func (m *MsgAddQuotaRequest) XXX_Merge(src proto.Message)
func (*MsgAddQuotaRequest) XXX_Size ¶
func (m *MsgAddQuotaRequest) XXX_Size() int
func (*MsgAddQuotaRequest) XXX_Unmarshal ¶
func (m *MsgAddQuotaRequest) XXX_Unmarshal(b []byte) error
type MsgAddQuotaResponse ¶
type MsgAddQuotaResponse struct { }
func (*MsgAddQuotaResponse) Descriptor ¶
func (*MsgAddQuotaResponse) Descriptor() ([]byte, []int)
func (*MsgAddQuotaResponse) Marshal ¶
func (m *MsgAddQuotaResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddQuotaResponse) MarshalTo ¶
func (m *MsgAddQuotaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddQuotaResponse) MarshalToSizedBuffer ¶
func (m *MsgAddQuotaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddQuotaResponse) ProtoMessage ¶
func (*MsgAddQuotaResponse) ProtoMessage()
func (*MsgAddQuotaResponse) Reset ¶
func (m *MsgAddQuotaResponse) Reset()
func (*MsgAddQuotaResponse) Size ¶
func (m *MsgAddQuotaResponse) Size() (n int)
func (*MsgAddQuotaResponse) String ¶
func (m *MsgAddQuotaResponse) String() string
func (*MsgAddQuotaResponse) Unmarshal ¶
func (m *MsgAddQuotaResponse) Unmarshal(dAtA []byte) error
func (*MsgAddQuotaResponse) XXX_DiscardUnknown ¶
func (m *MsgAddQuotaResponse) XXX_DiscardUnknown()
func (*MsgAddQuotaResponse) XXX_Marshal ¶
func (m *MsgAddQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddQuotaResponse) XXX_Merge ¶
func (m *MsgAddQuotaResponse) XXX_Merge(src proto.Message)
func (*MsgAddQuotaResponse) XXX_Size ¶
func (m *MsgAddQuotaResponse) XXX_Size() int
func (*MsgAddQuotaResponse) XXX_Unmarshal ¶
func (m *MsgAddQuotaResponse) XXX_Unmarshal(b []byte) error
type MsgCancelRequest ¶
type MsgCancelRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` }
func (*MsgCancelRequest) Descriptor ¶
func (*MsgCancelRequest) Descriptor() ([]byte, []int)
func (*MsgCancelRequest) GetSigners ¶
func (m *MsgCancelRequest) GetSigners() []sdk.AccAddress
func (*MsgCancelRequest) Marshal ¶
func (m *MsgCancelRequest) Marshal() (dAtA []byte, err error)
func (*MsgCancelRequest) MarshalToSizedBuffer ¶
func (m *MsgCancelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelRequest) ProtoMessage ¶
func (*MsgCancelRequest) ProtoMessage()
func (*MsgCancelRequest) Reset ¶
func (m *MsgCancelRequest) Reset()
func (*MsgCancelRequest) Size ¶
func (m *MsgCancelRequest) Size() (n int)
func (*MsgCancelRequest) String ¶
func (m *MsgCancelRequest) String() string
func (*MsgCancelRequest) Unmarshal ¶
func (m *MsgCancelRequest) Unmarshal(dAtA []byte) error
func (*MsgCancelRequest) ValidateBasic ¶
func (m *MsgCancelRequest) ValidateBasic() error
func (*MsgCancelRequest) XXX_DiscardUnknown ¶
func (m *MsgCancelRequest) XXX_DiscardUnknown()
func (*MsgCancelRequest) XXX_Marshal ¶
func (m *MsgCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelRequest) XXX_Merge ¶
func (m *MsgCancelRequest) XXX_Merge(src proto.Message)
func (*MsgCancelRequest) XXX_Size ¶
func (m *MsgCancelRequest) XXX_Size() int
func (*MsgCancelRequest) XXX_Unmarshal ¶
func (m *MsgCancelRequest) XXX_Unmarshal(b []byte) error
type MsgCancelResponse ¶
type MsgCancelResponse struct { }
func (*MsgCancelResponse) Descriptor ¶
func (*MsgCancelResponse) Descriptor() ([]byte, []int)
func (*MsgCancelResponse) Marshal ¶
func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelResponse) MarshalTo ¶
func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelResponse) ProtoMessage ¶
func (*MsgCancelResponse) ProtoMessage()
func (*MsgCancelResponse) Reset ¶
func (m *MsgCancelResponse) Reset()
func (*MsgCancelResponse) Size ¶
func (m *MsgCancelResponse) Size() (n int)
func (*MsgCancelResponse) String ¶
func (m *MsgCancelResponse) String() string
func (*MsgCancelResponse) Unmarshal ¶
func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelResponse) XXX_DiscardUnknown()
func (*MsgCancelResponse) XXX_Marshal ¶
func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelResponse) XXX_Merge ¶
func (m *MsgCancelResponse) XXX_Merge(src proto.Message)
func (*MsgCancelResponse) XXX_Size ¶
func (m *MsgCancelResponse) XXX_Size() int
func (*MsgCancelResponse) XXX_Unmarshal ¶
func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error
type MsgServiceClient ¶
type MsgServiceClient interface { MsgAddQuota(ctx context.Context, in *MsgAddQuotaRequest, opts ...grpc.CallOption) (*MsgAddQuotaResponse, error) MsgCancel(ctx context.Context, in *MsgCancelRequest, opts ...grpc.CallOption) (*MsgCancelResponse, error) MsgSubscribeToNode(ctx context.Context, in *MsgSubscribeToNodeRequest, opts ...grpc.CallOption) (*MsgSubscribeToNodeResponse, error) MsgSubscribeToPlan(ctx context.Context, in *MsgSubscribeToPlanRequest, opts ...grpc.CallOption) (*MsgSubscribeToPlanResponse, error) MsgUpdateQuota(ctx context.Context, in *MsgUpdateQuotaRequest, opts ...grpc.CallOption) (*MsgUpdateQuotaResponse, error) }
MsgServiceClient is the client API for MsgService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgServiceClient ¶
func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient
type MsgServiceServer ¶
type MsgServiceServer interface { MsgAddQuota(context.Context, *MsgAddQuotaRequest) (*MsgAddQuotaResponse, error) MsgCancel(context.Context, *MsgCancelRequest) (*MsgCancelResponse, error) MsgSubscribeToNode(context.Context, *MsgSubscribeToNodeRequest) (*MsgSubscribeToNodeResponse, error) MsgSubscribeToPlan(context.Context, *MsgSubscribeToPlanRequest) (*MsgSubscribeToPlanResponse, error) MsgUpdateQuota(context.Context, *MsgUpdateQuotaRequest) (*MsgUpdateQuotaResponse, error) }
MsgServiceServer is the server API for MsgService service.
type MsgSubscribeToNodeRequest ¶
type MsgSubscribeToNodeRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Deposit types.Coin `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit"` }
func (*MsgSubscribeToNodeRequest) Descriptor ¶
func (*MsgSubscribeToNodeRequest) Descriptor() ([]byte, []int)
func (*MsgSubscribeToNodeRequest) GetSigners ¶
func (m *MsgSubscribeToNodeRequest) GetSigners() []sdk.AccAddress
func (*MsgSubscribeToNodeRequest) Marshal ¶
func (m *MsgSubscribeToNodeRequest) Marshal() (dAtA []byte, err error)
func (*MsgSubscribeToNodeRequest) MarshalTo ¶
func (m *MsgSubscribeToNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubscribeToNodeRequest) MarshalToSizedBuffer ¶
func (m *MsgSubscribeToNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubscribeToNodeRequest) ProtoMessage ¶
func (*MsgSubscribeToNodeRequest) ProtoMessage()
func (*MsgSubscribeToNodeRequest) Reset ¶
func (m *MsgSubscribeToNodeRequest) Reset()
func (*MsgSubscribeToNodeRequest) Size ¶
func (m *MsgSubscribeToNodeRequest) Size() (n int)
func (*MsgSubscribeToNodeRequest) String ¶
func (m *MsgSubscribeToNodeRequest) String() string
func (*MsgSubscribeToNodeRequest) Unmarshal ¶
func (m *MsgSubscribeToNodeRequest) Unmarshal(dAtA []byte) error
func (*MsgSubscribeToNodeRequest) ValidateBasic ¶
func (m *MsgSubscribeToNodeRequest) ValidateBasic() error
func (*MsgSubscribeToNodeRequest) XXX_DiscardUnknown ¶
func (m *MsgSubscribeToNodeRequest) XXX_DiscardUnknown()
func (*MsgSubscribeToNodeRequest) XXX_Marshal ¶
func (m *MsgSubscribeToNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubscribeToNodeRequest) XXX_Merge ¶
func (m *MsgSubscribeToNodeRequest) XXX_Merge(src proto.Message)
func (*MsgSubscribeToNodeRequest) XXX_Size ¶
func (m *MsgSubscribeToNodeRequest) XXX_Size() int
func (*MsgSubscribeToNodeRequest) XXX_Unmarshal ¶
func (m *MsgSubscribeToNodeRequest) XXX_Unmarshal(b []byte) error
type MsgSubscribeToNodeResponse ¶
type MsgSubscribeToNodeResponse struct { }
func (*MsgSubscribeToNodeResponse) Descriptor ¶
func (*MsgSubscribeToNodeResponse) Descriptor() ([]byte, []int)
func (*MsgSubscribeToNodeResponse) Marshal ¶
func (m *MsgSubscribeToNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubscribeToNodeResponse) MarshalTo ¶
func (m *MsgSubscribeToNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubscribeToNodeResponse) MarshalToSizedBuffer ¶
func (m *MsgSubscribeToNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubscribeToNodeResponse) ProtoMessage ¶
func (*MsgSubscribeToNodeResponse) ProtoMessage()
func (*MsgSubscribeToNodeResponse) Reset ¶
func (m *MsgSubscribeToNodeResponse) Reset()
func (*MsgSubscribeToNodeResponse) Size ¶
func (m *MsgSubscribeToNodeResponse) Size() (n int)
func (*MsgSubscribeToNodeResponse) String ¶
func (m *MsgSubscribeToNodeResponse) String() string
func (*MsgSubscribeToNodeResponse) Unmarshal ¶
func (m *MsgSubscribeToNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgSubscribeToNodeResponse) XXX_DiscardUnknown ¶
func (m *MsgSubscribeToNodeResponse) XXX_DiscardUnknown()
func (*MsgSubscribeToNodeResponse) XXX_Marshal ¶
func (m *MsgSubscribeToNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubscribeToNodeResponse) XXX_Merge ¶
func (m *MsgSubscribeToNodeResponse) XXX_Merge(src proto.Message)
func (*MsgSubscribeToNodeResponse) XXX_Size ¶
func (m *MsgSubscribeToNodeResponse) XXX_Size() int
func (*MsgSubscribeToNodeResponse) XXX_Unmarshal ¶
func (m *MsgSubscribeToNodeResponse) XXX_Unmarshal(b []byte) error
type MsgSubscribeToPlanRequest ¶
type MsgSubscribeToPlanRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*MsgSubscribeToPlanRequest) Descriptor ¶
func (*MsgSubscribeToPlanRequest) Descriptor() ([]byte, []int)
func (*MsgSubscribeToPlanRequest) GetSigners ¶
func (m *MsgSubscribeToPlanRequest) GetSigners() []sdk.AccAddress
func (*MsgSubscribeToPlanRequest) Marshal ¶
func (m *MsgSubscribeToPlanRequest) Marshal() (dAtA []byte, err error)
func (*MsgSubscribeToPlanRequest) MarshalTo ¶
func (m *MsgSubscribeToPlanRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubscribeToPlanRequest) MarshalToSizedBuffer ¶
func (m *MsgSubscribeToPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubscribeToPlanRequest) ProtoMessage ¶
func (*MsgSubscribeToPlanRequest) ProtoMessage()
func (*MsgSubscribeToPlanRequest) Reset ¶
func (m *MsgSubscribeToPlanRequest) Reset()
func (*MsgSubscribeToPlanRequest) Size ¶
func (m *MsgSubscribeToPlanRequest) Size() (n int)
func (*MsgSubscribeToPlanRequest) String ¶
func (m *MsgSubscribeToPlanRequest) String() string
func (*MsgSubscribeToPlanRequest) Unmarshal ¶
func (m *MsgSubscribeToPlanRequest) Unmarshal(dAtA []byte) error
func (*MsgSubscribeToPlanRequest) ValidateBasic ¶
func (m *MsgSubscribeToPlanRequest) ValidateBasic() error
func (*MsgSubscribeToPlanRequest) XXX_DiscardUnknown ¶
func (m *MsgSubscribeToPlanRequest) XXX_DiscardUnknown()
func (*MsgSubscribeToPlanRequest) XXX_Marshal ¶
func (m *MsgSubscribeToPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubscribeToPlanRequest) XXX_Merge ¶
func (m *MsgSubscribeToPlanRequest) XXX_Merge(src proto.Message)
func (*MsgSubscribeToPlanRequest) XXX_Size ¶
func (m *MsgSubscribeToPlanRequest) XXX_Size() int
func (*MsgSubscribeToPlanRequest) XXX_Unmarshal ¶
func (m *MsgSubscribeToPlanRequest) XXX_Unmarshal(b []byte) error
type MsgSubscribeToPlanResponse ¶
type MsgSubscribeToPlanResponse struct { }
func (*MsgSubscribeToPlanResponse) Descriptor ¶
func (*MsgSubscribeToPlanResponse) Descriptor() ([]byte, []int)
func (*MsgSubscribeToPlanResponse) Marshal ¶
func (m *MsgSubscribeToPlanResponse) Marshal() (dAtA []byte, err error)
func (*MsgSubscribeToPlanResponse) MarshalTo ¶
func (m *MsgSubscribeToPlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSubscribeToPlanResponse) MarshalToSizedBuffer ¶
func (m *MsgSubscribeToPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSubscribeToPlanResponse) ProtoMessage ¶
func (*MsgSubscribeToPlanResponse) ProtoMessage()
func (*MsgSubscribeToPlanResponse) Reset ¶
func (m *MsgSubscribeToPlanResponse) Reset()
func (*MsgSubscribeToPlanResponse) Size ¶
func (m *MsgSubscribeToPlanResponse) Size() (n int)
func (*MsgSubscribeToPlanResponse) String ¶
func (m *MsgSubscribeToPlanResponse) String() string
func (*MsgSubscribeToPlanResponse) Unmarshal ¶
func (m *MsgSubscribeToPlanResponse) Unmarshal(dAtA []byte) error
func (*MsgSubscribeToPlanResponse) XXX_DiscardUnknown ¶
func (m *MsgSubscribeToPlanResponse) XXX_DiscardUnknown()
func (*MsgSubscribeToPlanResponse) XXX_Marshal ¶
func (m *MsgSubscribeToPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSubscribeToPlanResponse) XXX_Merge ¶
func (m *MsgSubscribeToPlanResponse) XXX_Merge(src proto.Message)
func (*MsgSubscribeToPlanResponse) XXX_Size ¶
func (m *MsgSubscribeToPlanResponse) XXX_Size() int
func (*MsgSubscribeToPlanResponse) XXX_Unmarshal ¶
func (m *MsgSubscribeToPlanResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateQuotaRequest ¶
type MsgUpdateQuotaRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Bytes github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=bytes,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bytes"` }
func (*MsgUpdateQuotaRequest) Descriptor ¶
func (*MsgUpdateQuotaRequest) Descriptor() ([]byte, []int)
func (*MsgUpdateQuotaRequest) GetSigners ¶
func (m *MsgUpdateQuotaRequest) GetSigners() []sdk.AccAddress
func (*MsgUpdateQuotaRequest) Marshal ¶
func (m *MsgUpdateQuotaRequest) Marshal() (dAtA []byte, err error)
func (*MsgUpdateQuotaRequest) MarshalTo ¶
func (m *MsgUpdateQuotaRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateQuotaRequest) MarshalToSizedBuffer ¶
func (m *MsgUpdateQuotaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateQuotaRequest) ProtoMessage ¶
func (*MsgUpdateQuotaRequest) ProtoMessage()
func (*MsgUpdateQuotaRequest) Reset ¶
func (m *MsgUpdateQuotaRequest) Reset()
func (*MsgUpdateQuotaRequest) Size ¶
func (m *MsgUpdateQuotaRequest) Size() (n int)
func (*MsgUpdateQuotaRequest) String ¶
func (m *MsgUpdateQuotaRequest) String() string
func (*MsgUpdateQuotaRequest) Unmarshal ¶
func (m *MsgUpdateQuotaRequest) Unmarshal(dAtA []byte) error
func (*MsgUpdateQuotaRequest) ValidateBasic ¶
func (m *MsgUpdateQuotaRequest) ValidateBasic() error
func (*MsgUpdateQuotaRequest) XXX_DiscardUnknown ¶
func (m *MsgUpdateQuotaRequest) XXX_DiscardUnknown()
func (*MsgUpdateQuotaRequest) XXX_Marshal ¶
func (m *MsgUpdateQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateQuotaRequest) XXX_Merge ¶
func (m *MsgUpdateQuotaRequest) XXX_Merge(src proto.Message)
func (*MsgUpdateQuotaRequest) XXX_Size ¶
func (m *MsgUpdateQuotaRequest) XXX_Size() int
func (*MsgUpdateQuotaRequest) XXX_Unmarshal ¶
func (m *MsgUpdateQuotaRequest) XXX_Unmarshal(b []byte) error
type MsgUpdateQuotaResponse ¶
type MsgUpdateQuotaResponse struct { }
func (*MsgUpdateQuotaResponse) Descriptor ¶
func (*MsgUpdateQuotaResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateQuotaResponse) Marshal ¶
func (m *MsgUpdateQuotaResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateQuotaResponse) MarshalTo ¶
func (m *MsgUpdateQuotaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateQuotaResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateQuotaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateQuotaResponse) ProtoMessage ¶
func (*MsgUpdateQuotaResponse) ProtoMessage()
func (*MsgUpdateQuotaResponse) Reset ¶
func (m *MsgUpdateQuotaResponse) Reset()
func (*MsgUpdateQuotaResponse) Size ¶
func (m *MsgUpdateQuotaResponse) Size() (n int)
func (*MsgUpdateQuotaResponse) String ¶
func (m *MsgUpdateQuotaResponse) String() string
func (*MsgUpdateQuotaResponse) Unmarshal ¶
func (m *MsgUpdateQuotaResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateQuotaResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateQuotaResponse) XXX_DiscardUnknown()
func (*MsgUpdateQuotaResponse) XXX_Marshal ¶
func (m *MsgUpdateQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateQuotaResponse) XXX_Merge ¶
func (m *MsgUpdateQuotaResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateQuotaResponse) XXX_Size ¶
func (m *MsgUpdateQuotaResponse) XXX_Size() int
func (*MsgUpdateQuotaResponse) XXX_Unmarshal ¶
func (m *MsgUpdateQuotaResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct {
InactiveDuration time.Duration `protobuf:"bytes,1,opt,name=inactive_duration,json=inactiveDuration,proto3,stdduration" json:"inactive_duration"`
}
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryQuotaRequest ¶
type QueryQuotaRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
func (*QueryQuotaRequest) Descriptor ¶
func (*QueryQuotaRequest) Descriptor() ([]byte, []int)
func (*QueryQuotaRequest) Marshal ¶
func (m *QueryQuotaRequest) Marshal() (dAtA []byte, err error)
func (*QueryQuotaRequest) MarshalTo ¶
func (m *QueryQuotaRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryQuotaRequest) MarshalToSizedBuffer ¶
func (m *QueryQuotaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQuotaRequest) ProtoMessage ¶
func (*QueryQuotaRequest) ProtoMessage()
func (*QueryQuotaRequest) Reset ¶
func (m *QueryQuotaRequest) Reset()
func (*QueryQuotaRequest) Size ¶
func (m *QueryQuotaRequest) Size() (n int)
func (*QueryQuotaRequest) String ¶
func (m *QueryQuotaRequest) String() string
func (*QueryQuotaRequest) Unmarshal ¶
func (m *QueryQuotaRequest) Unmarshal(dAtA []byte) error
func (*QueryQuotaRequest) XXX_DiscardUnknown ¶
func (m *QueryQuotaRequest) XXX_DiscardUnknown()
func (*QueryQuotaRequest) XXX_Marshal ¶
func (m *QueryQuotaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQuotaRequest) XXX_Merge ¶
func (m *QueryQuotaRequest) XXX_Merge(src proto.Message)
func (*QueryQuotaRequest) XXX_Size ¶
func (m *QueryQuotaRequest) XXX_Size() int
func (*QueryQuotaRequest) XXX_Unmarshal ¶
func (m *QueryQuotaRequest) XXX_Unmarshal(b []byte) error
type QueryQuotaResponse ¶
type QueryQuotaResponse struct {
Quota Quota `protobuf:"bytes,1,opt,name=quota,proto3" json:"quota"`
}
func (*QueryQuotaResponse) Descriptor ¶
func (*QueryQuotaResponse) Descriptor() ([]byte, []int)
func (*QueryQuotaResponse) Marshal ¶
func (m *QueryQuotaResponse) Marshal() (dAtA []byte, err error)
func (*QueryQuotaResponse) MarshalTo ¶
func (m *QueryQuotaResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryQuotaResponse) MarshalToSizedBuffer ¶
func (m *QueryQuotaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQuotaResponse) ProtoMessage ¶
func (*QueryQuotaResponse) ProtoMessage()
func (*QueryQuotaResponse) Reset ¶
func (m *QueryQuotaResponse) Reset()
func (*QueryQuotaResponse) Size ¶
func (m *QueryQuotaResponse) Size() (n int)
func (*QueryQuotaResponse) String ¶
func (m *QueryQuotaResponse) String() string
func (*QueryQuotaResponse) Unmarshal ¶
func (m *QueryQuotaResponse) Unmarshal(dAtA []byte) error
func (*QueryQuotaResponse) XXX_DiscardUnknown ¶
func (m *QueryQuotaResponse) XXX_DiscardUnknown()
func (*QueryQuotaResponse) XXX_Marshal ¶
func (m *QueryQuotaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQuotaResponse) XXX_Merge ¶
func (m *QueryQuotaResponse) XXX_Merge(src proto.Message)
func (*QueryQuotaResponse) XXX_Size ¶
func (m *QueryQuotaResponse) XXX_Size() int
func (*QueryQuotaResponse) XXX_Unmarshal ¶
func (m *QueryQuotaResponse) XXX_Unmarshal(b []byte) error
type QueryQuotasRequest ¶
type QueryQuotasRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryQuotasRequest) Descriptor ¶
func (*QueryQuotasRequest) Descriptor() ([]byte, []int)
func (*QueryQuotasRequest) Marshal ¶
func (m *QueryQuotasRequest) Marshal() (dAtA []byte, err error)
func (*QueryQuotasRequest) MarshalTo ¶
func (m *QueryQuotasRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryQuotasRequest) MarshalToSizedBuffer ¶
func (m *QueryQuotasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQuotasRequest) ProtoMessage ¶
func (*QueryQuotasRequest) ProtoMessage()
func (*QueryQuotasRequest) Reset ¶
func (m *QueryQuotasRequest) Reset()
func (*QueryQuotasRequest) Size ¶
func (m *QueryQuotasRequest) Size() (n int)
func (*QueryQuotasRequest) String ¶
func (m *QueryQuotasRequest) String() string
func (*QueryQuotasRequest) Unmarshal ¶
func (m *QueryQuotasRequest) Unmarshal(dAtA []byte) error
func (*QueryQuotasRequest) XXX_DiscardUnknown ¶
func (m *QueryQuotasRequest) XXX_DiscardUnknown()
func (*QueryQuotasRequest) XXX_Marshal ¶
func (m *QueryQuotasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQuotasRequest) XXX_Merge ¶
func (m *QueryQuotasRequest) XXX_Merge(src proto.Message)
func (*QueryQuotasRequest) XXX_Size ¶
func (m *QueryQuotasRequest) XXX_Size() int
func (*QueryQuotasRequest) XXX_Unmarshal ¶
func (m *QueryQuotasRequest) XXX_Unmarshal(b []byte) error
type QueryQuotasResponse ¶
type QueryQuotasResponse struct { Quotas []Quota `protobuf:"bytes,1,rep,name=quotas,proto3" json:"quotas"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryQuotasResponse) Descriptor ¶
func (*QueryQuotasResponse) Descriptor() ([]byte, []int)
func (*QueryQuotasResponse) Marshal ¶
func (m *QueryQuotasResponse) Marshal() (dAtA []byte, err error)
func (*QueryQuotasResponse) MarshalTo ¶
func (m *QueryQuotasResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryQuotasResponse) MarshalToSizedBuffer ¶
func (m *QueryQuotasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryQuotasResponse) ProtoMessage ¶
func (*QueryQuotasResponse) ProtoMessage()
func (*QueryQuotasResponse) Reset ¶
func (m *QueryQuotasResponse) Reset()
func (*QueryQuotasResponse) Size ¶
func (m *QueryQuotasResponse) Size() (n int)
func (*QueryQuotasResponse) String ¶
func (m *QueryQuotasResponse) String() string
func (*QueryQuotasResponse) Unmarshal ¶
func (m *QueryQuotasResponse) Unmarshal(dAtA []byte) error
func (*QueryQuotasResponse) XXX_DiscardUnknown ¶
func (m *QueryQuotasResponse) XXX_DiscardUnknown()
func (*QueryQuotasResponse) XXX_Marshal ¶
func (m *QueryQuotasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryQuotasResponse) XXX_Merge ¶
func (m *QueryQuotasResponse) XXX_Merge(src proto.Message)
func (*QueryQuotasResponse) XXX_Size ¶
func (m *QueryQuotasResponse) XXX_Size() int
func (*QueryQuotasResponse) XXX_Unmarshal ¶
func (m *QueryQuotasResponse) XXX_Unmarshal(b []byte) error
type QueryServiceClient ¶
type QueryServiceClient interface { QueryQuotas(ctx context.Context, in *QueryQuotasRequest, opts ...grpc.CallOption) (*QueryQuotasResponse, error) QueryQuota(ctx context.Context, in *QueryQuotaRequest, opts ...grpc.CallOption) (*QueryQuotaResponse, error) QuerySubscriptions(ctx context.Context, in *QuerySubscriptionsRequest, opts ...grpc.CallOption) (*QuerySubscriptionsResponse, error) QuerySubscriptionsForAddress(ctx context.Context, in *QuerySubscriptionsForAddressRequest, opts ...grpc.CallOption) (*QuerySubscriptionsForAddressResponse, error) QuerySubscription(ctx context.Context, in *QuerySubscriptionRequest, opts ...grpc.CallOption) (*QuerySubscriptionResponse, error) QueryParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) }
QueryServiceClient is the client API for QueryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryServiceClient ¶
func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient
type QueryServiceServer ¶
type QueryServiceServer interface { QueryQuotas(context.Context, *QueryQuotasRequest) (*QueryQuotasResponse, error) QueryQuota(context.Context, *QueryQuotaRequest) (*QueryQuotaResponse, error) QuerySubscriptions(context.Context, *QuerySubscriptionsRequest) (*QuerySubscriptionsResponse, error) QuerySubscriptionsForAddress(context.Context, *QuerySubscriptionsForAddressRequest) (*QuerySubscriptionsForAddressResponse, error) QuerySubscription(context.Context, *QuerySubscriptionRequest) (*QuerySubscriptionResponse, error) QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServiceServer is the server API for QueryService service.
type QuerySubscriptionRequest ¶
type QuerySubscriptionRequest struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QuerySubscriptionRequest) Descriptor ¶
func (*QuerySubscriptionRequest) Descriptor() ([]byte, []int)
func (*QuerySubscriptionRequest) Marshal ¶
func (m *QuerySubscriptionRequest) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionRequest) MarshalTo ¶
func (m *QuerySubscriptionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionRequest) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionRequest) ProtoMessage ¶
func (*QuerySubscriptionRequest) ProtoMessage()
func (*QuerySubscriptionRequest) Reset ¶
func (m *QuerySubscriptionRequest) Reset()
func (*QuerySubscriptionRequest) Size ¶
func (m *QuerySubscriptionRequest) Size() (n int)
func (*QuerySubscriptionRequest) String ¶
func (m *QuerySubscriptionRequest) String() string
func (*QuerySubscriptionRequest) Unmarshal ¶
func (m *QuerySubscriptionRequest) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionRequest) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionRequest) XXX_DiscardUnknown()
func (*QuerySubscriptionRequest) XXX_Marshal ¶
func (m *QuerySubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionRequest) XXX_Merge ¶
func (m *QuerySubscriptionRequest) XXX_Merge(src proto.Message)
func (*QuerySubscriptionRequest) XXX_Size ¶
func (m *QuerySubscriptionRequest) XXX_Size() int
func (*QuerySubscriptionRequest) XXX_Unmarshal ¶
func (m *QuerySubscriptionRequest) XXX_Unmarshal(b []byte) error
type QuerySubscriptionResponse ¶
type QuerySubscriptionResponse struct {
Subscription Subscription `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription"`
}
func (*QuerySubscriptionResponse) Descriptor ¶
func (*QuerySubscriptionResponse) Descriptor() ([]byte, []int)
func (*QuerySubscriptionResponse) Marshal ¶
func (m *QuerySubscriptionResponse) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionResponse) MarshalTo ¶
func (m *QuerySubscriptionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionResponse) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionResponse) ProtoMessage ¶
func (*QuerySubscriptionResponse) ProtoMessage()
func (*QuerySubscriptionResponse) Reset ¶
func (m *QuerySubscriptionResponse) Reset()
func (*QuerySubscriptionResponse) Size ¶
func (m *QuerySubscriptionResponse) Size() (n int)
func (*QuerySubscriptionResponse) String ¶
func (m *QuerySubscriptionResponse) String() string
func (*QuerySubscriptionResponse) Unmarshal ¶
func (m *QuerySubscriptionResponse) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionResponse) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionResponse) XXX_DiscardUnknown()
func (*QuerySubscriptionResponse) XXX_Marshal ¶
func (m *QuerySubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionResponse) XXX_Merge ¶
func (m *QuerySubscriptionResponse) XXX_Merge(src proto.Message)
func (*QuerySubscriptionResponse) XXX_Size ¶
func (m *QuerySubscriptionResponse) XXX_Size() int
func (*QuerySubscriptionResponse) XXX_Unmarshal ¶
func (m *QuerySubscriptionResponse) XXX_Unmarshal(b []byte) error
type QuerySubscriptionsForAddressRequest ¶
type QuerySubscriptionsForAddressRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Status v1.Status `protobuf:"varint,2,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QuerySubscriptionsForAddressRequest) Descriptor ¶
func (*QuerySubscriptionsForAddressRequest) Descriptor() ([]byte, []int)
func (*QuerySubscriptionsForAddressRequest) Marshal ¶
func (m *QuerySubscriptionsForAddressRequest) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionsForAddressRequest) MarshalTo ¶
func (m *QuerySubscriptionsForAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionsForAddressRequest) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionsForAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionsForAddressRequest) ProtoMessage ¶
func (*QuerySubscriptionsForAddressRequest) ProtoMessage()
func (*QuerySubscriptionsForAddressRequest) Reset ¶
func (m *QuerySubscriptionsForAddressRequest) Reset()
func (*QuerySubscriptionsForAddressRequest) Size ¶
func (m *QuerySubscriptionsForAddressRequest) Size() (n int)
func (*QuerySubscriptionsForAddressRequest) String ¶
func (m *QuerySubscriptionsForAddressRequest) String() string
func (*QuerySubscriptionsForAddressRequest) Unmarshal ¶
func (m *QuerySubscriptionsForAddressRequest) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionsForAddressRequest) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionsForAddressRequest) XXX_DiscardUnknown()
func (*QuerySubscriptionsForAddressRequest) XXX_Marshal ¶
func (m *QuerySubscriptionsForAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionsForAddressRequest) XXX_Merge ¶
func (m *QuerySubscriptionsForAddressRequest) XXX_Merge(src proto.Message)
func (*QuerySubscriptionsForAddressRequest) XXX_Size ¶
func (m *QuerySubscriptionsForAddressRequest) XXX_Size() int
func (*QuerySubscriptionsForAddressRequest) XXX_Unmarshal ¶
func (m *QuerySubscriptionsForAddressRequest) XXX_Unmarshal(b []byte) error
type QuerySubscriptionsForAddressResponse ¶
type QuerySubscriptionsForAddressResponse struct { Subscriptions []Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QuerySubscriptionsForAddressResponse) Descriptor ¶
func (*QuerySubscriptionsForAddressResponse) Descriptor() ([]byte, []int)
func (*QuerySubscriptionsForAddressResponse) Marshal ¶
func (m *QuerySubscriptionsForAddressResponse) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionsForAddressResponse) MarshalTo ¶
func (m *QuerySubscriptionsForAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionsForAddressResponse) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionsForAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionsForAddressResponse) ProtoMessage ¶
func (*QuerySubscriptionsForAddressResponse) ProtoMessage()
func (*QuerySubscriptionsForAddressResponse) Reset ¶
func (m *QuerySubscriptionsForAddressResponse) Reset()
func (*QuerySubscriptionsForAddressResponse) Size ¶
func (m *QuerySubscriptionsForAddressResponse) Size() (n int)
func (*QuerySubscriptionsForAddressResponse) String ¶
func (m *QuerySubscriptionsForAddressResponse) String() string
func (*QuerySubscriptionsForAddressResponse) Unmarshal ¶
func (m *QuerySubscriptionsForAddressResponse) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionsForAddressResponse) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionsForAddressResponse) XXX_DiscardUnknown()
func (*QuerySubscriptionsForAddressResponse) XXX_Marshal ¶
func (m *QuerySubscriptionsForAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionsForAddressResponse) XXX_Merge ¶
func (m *QuerySubscriptionsForAddressResponse) XXX_Merge(src proto.Message)
func (*QuerySubscriptionsForAddressResponse) XXX_Size ¶
func (m *QuerySubscriptionsForAddressResponse) XXX_Size() int
func (*QuerySubscriptionsForAddressResponse) XXX_Unmarshal ¶
func (m *QuerySubscriptionsForAddressResponse) XXX_Unmarshal(b []byte) error
type QuerySubscriptionsRequest ¶
type QuerySubscriptionsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QuerySubscriptionsRequest) Descriptor ¶
func (*QuerySubscriptionsRequest) Descriptor() ([]byte, []int)
func (*QuerySubscriptionsRequest) Marshal ¶
func (m *QuerySubscriptionsRequest) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionsRequest) MarshalTo ¶
func (m *QuerySubscriptionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionsRequest) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionsRequest) ProtoMessage ¶
func (*QuerySubscriptionsRequest) ProtoMessage()
func (*QuerySubscriptionsRequest) Reset ¶
func (m *QuerySubscriptionsRequest) Reset()
func (*QuerySubscriptionsRequest) Size ¶
func (m *QuerySubscriptionsRequest) Size() (n int)
func (*QuerySubscriptionsRequest) String ¶
func (m *QuerySubscriptionsRequest) String() string
func (*QuerySubscriptionsRequest) Unmarshal ¶
func (m *QuerySubscriptionsRequest) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionsRequest) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionsRequest) XXX_DiscardUnknown()
func (*QuerySubscriptionsRequest) XXX_Marshal ¶
func (m *QuerySubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionsRequest) XXX_Merge ¶
func (m *QuerySubscriptionsRequest) XXX_Merge(src proto.Message)
func (*QuerySubscriptionsRequest) XXX_Size ¶
func (m *QuerySubscriptionsRequest) XXX_Size() int
func (*QuerySubscriptionsRequest) XXX_Unmarshal ¶
func (m *QuerySubscriptionsRequest) XXX_Unmarshal(b []byte) error
type QuerySubscriptionsResponse ¶
type QuerySubscriptionsResponse struct { Subscriptions []Subscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QuerySubscriptionsResponse) Descriptor ¶
func (*QuerySubscriptionsResponse) Descriptor() ([]byte, []int)
func (*QuerySubscriptionsResponse) Marshal ¶
func (m *QuerySubscriptionsResponse) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionsResponse) MarshalTo ¶
func (m *QuerySubscriptionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionsResponse) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionsResponse) ProtoMessage ¶
func (*QuerySubscriptionsResponse) ProtoMessage()
func (*QuerySubscriptionsResponse) Reset ¶
func (m *QuerySubscriptionsResponse) Reset()
func (*QuerySubscriptionsResponse) Size ¶
func (m *QuerySubscriptionsResponse) Size() (n int)
func (*QuerySubscriptionsResponse) String ¶
func (m *QuerySubscriptionsResponse) String() string
func (*QuerySubscriptionsResponse) Unmarshal ¶
func (m *QuerySubscriptionsResponse) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionsResponse) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionsResponse) XXX_DiscardUnknown()
func (*QuerySubscriptionsResponse) XXX_Marshal ¶
func (m *QuerySubscriptionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionsResponse) XXX_Merge ¶
func (m *QuerySubscriptionsResponse) XXX_Merge(src proto.Message)
func (*QuerySubscriptionsResponse) XXX_Size ¶
func (m *QuerySubscriptionsResponse) XXX_Size() int
func (*QuerySubscriptionsResponse) XXX_Unmarshal ¶
func (m *QuerySubscriptionsResponse) XXX_Unmarshal(b []byte) error
type Quota ¶
type Quota struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Allocated github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=allocated,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"allocated"` Consumed github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=consumed,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"consumed"` }
func (*Quota) Descriptor ¶
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) XXX_DiscardUnknown ¶
func (m *Quota) XXX_DiscardUnknown()
func (*Quota) XXX_Marshal ¶
func (*Quota) XXX_Unmarshal ¶
type Subscription ¶
type Subscription struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` Price types.Coin `protobuf:"bytes,4,opt,name=price,proto3" json:"price"` Deposit types.Coin `protobuf:"bytes,5,opt,name=deposit,proto3" json:"deposit"` Plan uint64 `protobuf:"varint,6,opt,name=plan,proto3" json:"plan,omitempty"` Denom string `protobuf:"bytes,7,opt,name=denom,proto3" json:"denom,omitempty"` Expiry time.Time `protobuf:"bytes,8,opt,name=expiry,proto3,stdtime" json:"expiry"` Free github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,9,opt,name=free,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"free"` Status v1.Status `protobuf:"varint,10,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` StatusAt time.Time `protobuf:"bytes,11,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"` }
func (*Subscription) Descriptor ¶
func (*Subscription) Descriptor() ([]byte, []int)
func (*Subscription) Marshal ¶
func (m *Subscription) Marshal() (dAtA []byte, err error)
func (*Subscription) MarshalToSizedBuffer ¶
func (m *Subscription) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Subscription) ProtoMessage ¶
func (*Subscription) ProtoMessage()
func (*Subscription) Reset ¶
func (m *Subscription) Reset()
func (*Subscription) Size ¶
func (m *Subscription) Size() (n int)
func (*Subscription) String ¶
func (m *Subscription) String() string
func (*Subscription) Unmarshal ¶
func (m *Subscription) Unmarshal(dAtA []byte) error
func (*Subscription) XXX_DiscardUnknown ¶
func (m *Subscription) XXX_DiscardUnknown()
func (*Subscription) XXX_Marshal ¶
func (m *Subscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Subscription) XXX_Merge ¶
func (m *Subscription) XXX_Merge(src proto.Message)
func (*Subscription) XXX_Size ¶
func (m *Subscription) XXX_Size() int
func (*Subscription) XXX_Unmarshal ¶
func (m *Subscription) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServiceServer ¶
type UnimplementedMsgServiceServer struct { }
UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServiceServer) MsgAddQuota ¶
func (*UnimplementedMsgServiceServer) MsgAddQuota(ctx context.Context, req *MsgAddQuotaRequest) (*MsgAddQuotaResponse, error)
func (*UnimplementedMsgServiceServer) MsgCancel ¶
func (*UnimplementedMsgServiceServer) MsgCancel(ctx context.Context, req *MsgCancelRequest) (*MsgCancelResponse, error)
func (*UnimplementedMsgServiceServer) MsgSubscribeToNode ¶
func (*UnimplementedMsgServiceServer) MsgSubscribeToNode(ctx context.Context, req *MsgSubscribeToNodeRequest) (*MsgSubscribeToNodeResponse, error)
func (*UnimplementedMsgServiceServer) MsgSubscribeToPlan ¶
func (*UnimplementedMsgServiceServer) MsgSubscribeToPlan(ctx context.Context, req *MsgSubscribeToPlanRequest) (*MsgSubscribeToPlanResponse, error)
func (*UnimplementedMsgServiceServer) MsgUpdateQuota ¶
func (*UnimplementedMsgServiceServer) MsgUpdateQuota(ctx context.Context, req *MsgUpdateQuotaRequest) (*MsgUpdateQuotaResponse, error)
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServiceServer) QueryParams ¶
func (*UnimplementedQueryServiceServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServiceServer) QueryQuota ¶
func (*UnimplementedQueryServiceServer) QueryQuota(ctx context.Context, req *QueryQuotaRequest) (*QueryQuotaResponse, error)
func (*UnimplementedQueryServiceServer) QueryQuotas ¶
func (*UnimplementedQueryServiceServer) QueryQuotas(ctx context.Context, req *QueryQuotasRequest) (*QueryQuotasResponse, error)
func (*UnimplementedQueryServiceServer) QuerySubscription ¶
func (*UnimplementedQueryServiceServer) QuerySubscription(ctx context.Context, req *QuerySubscriptionRequest) (*QuerySubscriptionResponse, error)
func (*UnimplementedQueryServiceServer) QuerySubscriptions ¶
func (*UnimplementedQueryServiceServer) QuerySubscriptions(ctx context.Context, req *QuerySubscriptionsRequest) (*QuerySubscriptionsResponse, error)
func (*UnimplementedQueryServiceServer) QuerySubscriptionsForAddress ¶
func (*UnimplementedQueryServiceServer) QuerySubscriptionsForAddress(ctx context.Context, req *QuerySubscriptionsForAddressRequest) (*QuerySubscriptionsForAddressResponse, error)