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 EventPay
- func (*EventPay) Descriptor() ([]byte, []int)
- func (m *EventPay) Marshal() (dAtA []byte, err error)
- func (m *EventPay) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPay) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPay) ProtoMessage()
- func (m *EventPay) Reset()
- func (m *EventPay) Size() (n int)
- func (m *EventPay) String() string
- func (m *EventPay) Unmarshal(dAtA []byte) error
- func (m *EventPay) XXX_DiscardUnknown()
- func (m *EventPay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPay) XXX_Merge(src proto.Message)
- func (m *EventPay) XXX_Size() int
- func (m *EventPay) 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 EventStart
- func (*EventStart) Descriptor() ([]byte, []int)
- func (m *EventStart) Marshal() (dAtA []byte, err error)
- func (m *EventStart) MarshalTo(dAtA []byte) (int, error)
- func (m *EventStart) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventStart) ProtoMessage()
- func (m *EventStart) Reset()
- func (m *EventStart) Size() (n int)
- func (m *EventStart) String() string
- func (m *EventStart) Unmarshal(dAtA []byte) error
- func (m *EventStart) XXX_DiscardUnknown()
- func (m *EventStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventStart) XXX_Merge(src proto.Message)
- func (m *EventStart) XXX_Size() int
- func (m *EventStart) XXX_Unmarshal(b []byte) error
- type EventUpdate
- func (*EventUpdate) Descriptor() ([]byte, []int)
- func (m *EventUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdate) ProtoMessage()
- func (m *EventUpdate) Reset()
- func (m *EventUpdate) Size() (n int)
- func (m *EventUpdate) String() string
- func (m *EventUpdate) Unmarshal(dAtA []byte) error
- func (m *EventUpdate) XXX_DiscardUnknown()
- func (m *EventUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdate) XXX_Merge(src proto.Message)
- func (m *EventUpdate) XXX_Size() int
- func (m *EventUpdate) 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 MsgEndRequest
- func (*MsgEndRequest) Descriptor() ([]byte, []int)
- func (m *MsgEndRequest) GetSigners() []sdk.AccAddress
- func (m *MsgEndRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgEndRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEndRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEndRequest) ProtoMessage()
- func (m *MsgEndRequest) Reset()
- func (m *MsgEndRequest) Size() (n int)
- func (m *MsgEndRequest) String() string
- func (m *MsgEndRequest) Unmarshal(dAtA []byte) error
- func (m *MsgEndRequest) ValidateBasic() error
- func (m *MsgEndRequest) XXX_DiscardUnknown()
- func (m *MsgEndRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEndRequest) XXX_Merge(src proto.Message)
- func (m *MsgEndRequest) XXX_Size() int
- func (m *MsgEndRequest) XXX_Unmarshal(b []byte) error
- type MsgEndResponse
- func (*MsgEndResponse) Descriptor() ([]byte, []int)
- func (m *MsgEndResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEndResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEndResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEndResponse) ProtoMessage()
- func (m *MsgEndResponse) Reset()
- func (m *MsgEndResponse) Size() (n int)
- func (m *MsgEndResponse) String() string
- func (m *MsgEndResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEndResponse) XXX_DiscardUnknown()
- func (m *MsgEndResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEndResponse) XXX_Merge(src proto.Message)
- func (m *MsgEndResponse) XXX_Size() int
- func (m *MsgEndResponse) XXX_Unmarshal(b []byte) error
- type MsgServiceClient
- type MsgServiceServer
- type MsgStartRequest
- func (*MsgStartRequest) Descriptor() ([]byte, []int)
- func (m *MsgStartRequest) GetSigners() []sdk.AccAddress
- func (m *MsgStartRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgStartRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStartRequest) ProtoMessage()
- func (m *MsgStartRequest) Reset()
- func (m *MsgStartRequest) Size() (n int)
- func (m *MsgStartRequest) String() string
- func (m *MsgStartRequest) Unmarshal(dAtA []byte) error
- func (m *MsgStartRequest) ValidateBasic() error
- func (m *MsgStartRequest) XXX_DiscardUnknown()
- func (m *MsgStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStartRequest) XXX_Merge(src proto.Message)
- func (m *MsgStartRequest) XXX_Size() int
- func (m *MsgStartRequest) XXX_Unmarshal(b []byte) error
- type MsgStartResponse
- func (*MsgStartResponse) Descriptor() ([]byte, []int)
- func (m *MsgStartResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStartResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStartResponse) ProtoMessage()
- func (m *MsgStartResponse) Reset()
- func (m *MsgStartResponse) Size() (n int)
- func (m *MsgStartResponse) String() string
- func (m *MsgStartResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStartResponse) XXX_DiscardUnknown()
- func (m *MsgStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStartResponse) XXX_Merge(src proto.Message)
- func (m *MsgStartResponse) XXX_Size() int
- func (m *MsgStartResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateRequest
- func (*MsgUpdateRequest) Descriptor() ([]byte, []int)
- func (m *MsgUpdateRequest) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateRequest) ProtoMessage()
- func (m *MsgUpdateRequest) Reset()
- func (m *MsgUpdateRequest) Size() (n int)
- func (m *MsgUpdateRequest) String() string
- func (m *MsgUpdateRequest) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateRequest) ValidateBasic() error
- func (m *MsgUpdateRequest) XXX_DiscardUnknown()
- func (m *MsgUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateRequest) XXX_Merge(src proto.Message)
- func (m *MsgUpdateRequest) XXX_Size() int
- func (m *MsgUpdateRequest) XXX_Unmarshal(b []byte) error
- type MsgUpdateResponse
- func (*MsgUpdateResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateResponse) ProtoMessage()
- func (m *MsgUpdateResponse) Reset()
- func (m *MsgUpdateResponse) Size() (n int)
- func (m *MsgUpdateResponse) String() string
- func (m *MsgUpdateResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateResponse) XXX_Size() int
- func (m *MsgUpdateResponse) 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 Proof
- func (*Proof) Descriptor() ([]byte, []int)
- func (m *Proof) Marshal() (dAtA []byte, err error)
- func (m *Proof) MarshalTo(dAtA []byte) (int, error)
- func (m *Proof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Proof) ProtoMessage()
- func (m *Proof) Reset()
- func (m *Proof) Size() (n int)
- func (m *Proof) String() string
- func (m *Proof) Unmarshal(dAtA []byte) error
- func (m *Proof) XXX_DiscardUnknown()
- func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proof) XXX_Merge(src proto.Message)
- func (m *Proof) XXX_Size() int
- func (m *Proof) 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 QueryServiceClient
- type QueryServiceServer
- type QuerySessionRequest
- func (*QuerySessionRequest) Descriptor() ([]byte, []int)
- func (m *QuerySessionRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySessionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySessionRequest) ProtoMessage()
- func (m *QuerySessionRequest) Reset()
- func (m *QuerySessionRequest) Size() (n int)
- func (m *QuerySessionRequest) String() string
- func (m *QuerySessionRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySessionRequest) XXX_DiscardUnknown()
- func (m *QuerySessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySessionRequest) XXX_Merge(src proto.Message)
- func (m *QuerySessionRequest) XXX_Size() int
- func (m *QuerySessionRequest) XXX_Unmarshal(b []byte) error
- type QuerySessionResponse
- func (*QuerySessionResponse) Descriptor() ([]byte, []int)
- func (m *QuerySessionResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySessionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySessionResponse) ProtoMessage()
- func (m *QuerySessionResponse) Reset()
- func (m *QuerySessionResponse) Size() (n int)
- func (m *QuerySessionResponse) String() string
- func (m *QuerySessionResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySessionResponse) XXX_DiscardUnknown()
- func (m *QuerySessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySessionResponse) XXX_Merge(src proto.Message)
- func (m *QuerySessionResponse) XXX_Size() int
- func (m *QuerySessionResponse) XXX_Unmarshal(b []byte) error
- type QuerySessionsForAddressRequest
- func (*QuerySessionsForAddressRequest) Descriptor() ([]byte, []int)
- func (m *QuerySessionsForAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySessionsForAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySessionsForAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySessionsForAddressRequest) ProtoMessage()
- func (m *QuerySessionsForAddressRequest) Reset()
- func (m *QuerySessionsForAddressRequest) Size() (n int)
- func (m *QuerySessionsForAddressRequest) String() string
- func (m *QuerySessionsForAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySessionsForAddressRequest) XXX_DiscardUnknown()
- func (m *QuerySessionsForAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySessionsForAddressRequest) XXX_Merge(src proto.Message)
- func (m *QuerySessionsForAddressRequest) XXX_Size() int
- func (m *QuerySessionsForAddressRequest) XXX_Unmarshal(b []byte) error
- type QuerySessionsForAddressResponse
- func (*QuerySessionsForAddressResponse) Descriptor() ([]byte, []int)
- func (m *QuerySessionsForAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySessionsForAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySessionsForAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySessionsForAddressResponse) ProtoMessage()
- func (m *QuerySessionsForAddressResponse) Reset()
- func (m *QuerySessionsForAddressResponse) Size() (n int)
- func (m *QuerySessionsForAddressResponse) String() string
- func (m *QuerySessionsForAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySessionsForAddressResponse) XXX_DiscardUnknown()
- func (m *QuerySessionsForAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySessionsForAddressResponse) XXX_Merge(src proto.Message)
- func (m *QuerySessionsForAddressResponse) XXX_Size() int
- func (m *QuerySessionsForAddressResponse) XXX_Unmarshal(b []byte) error
- type QuerySessionsRequest
- func (*QuerySessionsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySessionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySessionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySessionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySessionsRequest) ProtoMessage()
- func (m *QuerySessionsRequest) Reset()
- func (m *QuerySessionsRequest) Size() (n int)
- func (m *QuerySessionsRequest) String() string
- func (m *QuerySessionsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySessionsRequest) XXX_DiscardUnknown()
- func (m *QuerySessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySessionsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySessionsRequest) XXX_Size() int
- func (m *QuerySessionsRequest) XXX_Unmarshal(b []byte) error
- type QuerySessionsResponse
- func (*QuerySessionsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySessionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySessionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySessionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySessionsResponse) ProtoMessage()
- func (m *QuerySessionsResponse) Reset()
- func (m *QuerySessionsResponse) Size() (n int)
- func (m *QuerySessionsResponse) String() string
- func (m *QuerySessionsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySessionsResponse) XXX_DiscardUnknown()
- func (m *QuerySessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySessionsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySessionsResponse) XXX_Size() int
- func (m *QuerySessionsResponse) XXX_Unmarshal(b []byte) error
- type Session
- func (*Session) Descriptor() ([]byte, []int)
- func (m *Session) Marshal() (dAtA []byte, err error)
- func (m *Session) MarshalTo(dAtA []byte) (int, error)
- func (m *Session) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Session) ProtoMessage()
- func (m *Session) Reset()
- func (m *Session) Size() (n int)
- func (m *Session) String() string
- func (m *Session) Unmarshal(dAtA []byte) error
- func (m *Session) XXX_DiscardUnknown()
- func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Session) XXX_Merge(src proto.Message)
- func (m *Session) XXX_Size() int
- func (m *Session) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServiceServer
- func (*UnimplementedMsgServiceServer) MsgEnd(ctx context.Context, req *MsgEndRequest) (*MsgEndResponse, error)
- func (*UnimplementedMsgServiceServer) MsgStart(ctx context.Context, req *MsgStartRequest) (*MsgStartResponse, error)
- func (*UnimplementedMsgServiceServer) MsgUpdate(ctx context.Context, req *MsgUpdateRequest) (*MsgUpdateResponse, error)
- type UnimplementedQueryServiceServer
- func (*UnimplementedQueryServiceServer) QueryParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServiceServer) QuerySession(ctx context.Context, req *QuerySessionRequest) (*QuerySessionResponse, error)
- func (*UnimplementedQueryServiceServer) QuerySessions(ctx context.Context, req *QuerySessionsRequest) (*QuerySessionsResponse, error)
- func (*UnimplementedQueryServiceServer) QuerySessionsForAddress(ctx context.Context, req *QuerySessionsForAddressRequest) (*QuerySessionsForAddressResponse, 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 ( ErrInvalidLengthProof = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProof = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProof = fmt.Errorf("proto: unexpected end of group") )
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 EventPay ¶
type EventPay 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"` Subscription uint64 `protobuf:"varint,3,opt,name=subscription,proto3" json:"subscription,omitempty" yaml:"subscription"` Amount types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount" yaml:"amount"` }
func (*EventPay) Descriptor ¶
func (*EventPay) MarshalToSizedBuffer ¶
func (*EventPay) ProtoMessage ¶
func (*EventPay) ProtoMessage()
func (*EventPay) XXX_DiscardUnknown ¶
func (m *EventPay) XXX_DiscardUnknown()
func (*EventPay) XXX_Marshal ¶
func (*EventPay) XXX_Unmarshal ¶
type EventSetStatus ¶
type EventSetStatus 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"` Subscription uint64 `protobuf:"varint,3,opt,name=subscription,proto3" json:"subscription,omitempty" yaml:"subscription"` Status v1.Status `protobuf:"varint,4,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 EventStart ¶
type EventStart 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"` Subscription uint64 `protobuf:"varint,3,opt,name=subscription,proto3" json:"subscription,omitempty" yaml:"subscription"` }
func (*EventStart) Descriptor ¶
func (*EventStart) Descriptor() ([]byte, []int)
func (*EventStart) Marshal ¶
func (m *EventStart) Marshal() (dAtA []byte, err error)
func (*EventStart) MarshalToSizedBuffer ¶
func (m *EventStart) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventStart) ProtoMessage ¶
func (*EventStart) ProtoMessage()
func (*EventStart) Reset ¶
func (m *EventStart) Reset()
func (*EventStart) Size ¶
func (m *EventStart) Size() (n int)
func (*EventStart) String ¶
func (m *EventStart) String() string
func (*EventStart) Unmarshal ¶
func (m *EventStart) Unmarshal(dAtA []byte) error
func (*EventStart) XXX_DiscardUnknown ¶
func (m *EventStart) XXX_DiscardUnknown()
func (*EventStart) XXX_Marshal ¶
func (m *EventStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventStart) XXX_Merge ¶
func (m *EventStart) XXX_Merge(src proto.Message)
func (*EventStart) XXX_Size ¶
func (m *EventStart) XXX_Size() int
func (*EventStart) XXX_Unmarshal ¶
func (m *EventStart) XXX_Unmarshal(b []byte) error
type EventUpdate ¶
type EventUpdate 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"` Subscription uint64 `protobuf:"varint,3,opt,name=subscription,proto3" json:"subscription,omitempty" yaml:"subscription"` }
func (*EventUpdate) Descriptor ¶
func (*EventUpdate) Descriptor() ([]byte, []int)
func (*EventUpdate) Marshal ¶
func (m *EventUpdate) Marshal() (dAtA []byte, err error)
func (*EventUpdate) MarshalToSizedBuffer ¶
func (m *EventUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdate) ProtoMessage ¶
func (*EventUpdate) ProtoMessage()
func (*EventUpdate) Reset ¶
func (m *EventUpdate) Reset()
func (*EventUpdate) Size ¶
func (m *EventUpdate) Size() (n int)
func (*EventUpdate) String ¶
func (m *EventUpdate) String() string
func (*EventUpdate) Unmarshal ¶
func (m *EventUpdate) Unmarshal(dAtA []byte) error
func (*EventUpdate) XXX_DiscardUnknown ¶
func (m *EventUpdate) XXX_DiscardUnknown()
func (*EventUpdate) XXX_Marshal ¶
func (m *EventUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdate) XXX_Merge ¶
func (m *EventUpdate) XXX_Merge(src proto.Message)
func (*EventUpdate) XXX_Size ¶
func (m *EventUpdate) XXX_Size() int
func (*EventUpdate) XXX_Unmarshal ¶
func (m *EventUpdate) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Sessions []Session `protobuf:"bytes,1,rep,name=sessions,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 MsgEndRequest ¶
type MsgEndRequest 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"` Rating uint64 `protobuf:"varint,3,opt,name=rating,proto3" json:"rating,omitempty"` }
func (*MsgEndRequest) Descriptor ¶
func (*MsgEndRequest) Descriptor() ([]byte, []int)
func (*MsgEndRequest) GetSigners ¶
func (m *MsgEndRequest) GetSigners() []sdk.AccAddress
func (*MsgEndRequest) Marshal ¶
func (m *MsgEndRequest) Marshal() (dAtA []byte, err error)
func (*MsgEndRequest) MarshalToSizedBuffer ¶
func (m *MsgEndRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEndRequest) ProtoMessage ¶
func (*MsgEndRequest) ProtoMessage()
func (*MsgEndRequest) Reset ¶
func (m *MsgEndRequest) Reset()
func (*MsgEndRequest) Size ¶
func (m *MsgEndRequest) Size() (n int)
func (*MsgEndRequest) String ¶
func (m *MsgEndRequest) String() string
func (*MsgEndRequest) Unmarshal ¶
func (m *MsgEndRequest) Unmarshal(dAtA []byte) error
func (*MsgEndRequest) ValidateBasic ¶
func (m *MsgEndRequest) ValidateBasic() error
func (*MsgEndRequest) XXX_DiscardUnknown ¶
func (m *MsgEndRequest) XXX_DiscardUnknown()
func (*MsgEndRequest) XXX_Marshal ¶
func (m *MsgEndRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEndRequest) XXX_Merge ¶
func (m *MsgEndRequest) XXX_Merge(src proto.Message)
func (*MsgEndRequest) XXX_Size ¶
func (m *MsgEndRequest) XXX_Size() int
func (*MsgEndRequest) XXX_Unmarshal ¶
func (m *MsgEndRequest) XXX_Unmarshal(b []byte) error
type MsgEndResponse ¶
type MsgEndResponse struct { }
func (*MsgEndResponse) Descriptor ¶
func (*MsgEndResponse) Descriptor() ([]byte, []int)
func (*MsgEndResponse) Marshal ¶
func (m *MsgEndResponse) Marshal() (dAtA []byte, err error)
func (*MsgEndResponse) MarshalToSizedBuffer ¶
func (m *MsgEndResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEndResponse) ProtoMessage ¶
func (*MsgEndResponse) ProtoMessage()
func (*MsgEndResponse) Reset ¶
func (m *MsgEndResponse) Reset()
func (*MsgEndResponse) Size ¶
func (m *MsgEndResponse) Size() (n int)
func (*MsgEndResponse) String ¶
func (m *MsgEndResponse) String() string
func (*MsgEndResponse) Unmarshal ¶
func (m *MsgEndResponse) Unmarshal(dAtA []byte) error
func (*MsgEndResponse) XXX_DiscardUnknown ¶
func (m *MsgEndResponse) XXX_DiscardUnknown()
func (*MsgEndResponse) XXX_Marshal ¶
func (m *MsgEndResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEndResponse) XXX_Merge ¶
func (m *MsgEndResponse) XXX_Merge(src proto.Message)
func (*MsgEndResponse) XXX_Size ¶
func (m *MsgEndResponse) XXX_Size() int
func (*MsgEndResponse) XXX_Unmarshal ¶
func (m *MsgEndResponse) XXX_Unmarshal(b []byte) error
type MsgServiceClient ¶
type MsgServiceClient interface { MsgStart(ctx context.Context, in *MsgStartRequest, opts ...grpc.CallOption) (*MsgStartResponse, error) MsgUpdate(ctx context.Context, in *MsgUpdateRequest, opts ...grpc.CallOption) (*MsgUpdateResponse, error) MsgEnd(ctx context.Context, in *MsgEndRequest, opts ...grpc.CallOption) (*MsgEndResponse, 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 { MsgStart(context.Context, *MsgStartRequest) (*MsgStartResponse, error) MsgUpdate(context.Context, *MsgUpdateRequest) (*MsgUpdateResponse, error) MsgEnd(context.Context, *MsgEndRequest) (*MsgEndResponse, error) }
MsgServiceServer is the server API for MsgService service.
type MsgStartRequest ¶
type MsgStartRequest 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"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` }
func (*MsgStartRequest) Descriptor ¶
func (*MsgStartRequest) Descriptor() ([]byte, []int)
func (*MsgStartRequest) GetSigners ¶
func (m *MsgStartRequest) GetSigners() []sdk.AccAddress
func (*MsgStartRequest) Marshal ¶
func (m *MsgStartRequest) Marshal() (dAtA []byte, err error)
func (*MsgStartRequest) MarshalToSizedBuffer ¶
func (m *MsgStartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStartRequest) ProtoMessage ¶
func (*MsgStartRequest) ProtoMessage()
func (*MsgStartRequest) Reset ¶
func (m *MsgStartRequest) Reset()
func (*MsgStartRequest) Size ¶
func (m *MsgStartRequest) Size() (n int)
func (*MsgStartRequest) String ¶
func (m *MsgStartRequest) String() string
func (*MsgStartRequest) Unmarshal ¶
func (m *MsgStartRequest) Unmarshal(dAtA []byte) error
func (*MsgStartRequest) ValidateBasic ¶
func (m *MsgStartRequest) ValidateBasic() error
func (*MsgStartRequest) XXX_DiscardUnknown ¶
func (m *MsgStartRequest) XXX_DiscardUnknown()
func (*MsgStartRequest) XXX_Marshal ¶
func (m *MsgStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStartRequest) XXX_Merge ¶
func (m *MsgStartRequest) XXX_Merge(src proto.Message)
func (*MsgStartRequest) XXX_Size ¶
func (m *MsgStartRequest) XXX_Size() int
func (*MsgStartRequest) XXX_Unmarshal ¶
func (m *MsgStartRequest) XXX_Unmarshal(b []byte) error
type MsgStartResponse ¶
type MsgStartResponse struct { }
func (*MsgStartResponse) Descriptor ¶
func (*MsgStartResponse) Descriptor() ([]byte, []int)
func (*MsgStartResponse) Marshal ¶
func (m *MsgStartResponse) Marshal() (dAtA []byte, err error)
func (*MsgStartResponse) MarshalToSizedBuffer ¶
func (m *MsgStartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStartResponse) ProtoMessage ¶
func (*MsgStartResponse) ProtoMessage()
func (*MsgStartResponse) Reset ¶
func (m *MsgStartResponse) Reset()
func (*MsgStartResponse) Size ¶
func (m *MsgStartResponse) Size() (n int)
func (*MsgStartResponse) String ¶
func (m *MsgStartResponse) String() string
func (*MsgStartResponse) Unmarshal ¶
func (m *MsgStartResponse) Unmarshal(dAtA []byte) error
func (*MsgStartResponse) XXX_DiscardUnknown ¶
func (m *MsgStartResponse) XXX_DiscardUnknown()
func (*MsgStartResponse) XXX_Marshal ¶
func (m *MsgStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStartResponse) XXX_Merge ¶
func (m *MsgStartResponse) XXX_Merge(src proto.Message)
func (*MsgStartResponse) XXX_Size ¶
func (m *MsgStartResponse) XXX_Size() int
func (*MsgStartResponse) XXX_Unmarshal ¶
func (m *MsgStartResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateRequest ¶
type MsgUpdateRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Proof Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof"` Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*MsgUpdateRequest) Descriptor ¶
func (*MsgUpdateRequest) Descriptor() ([]byte, []int)
func (*MsgUpdateRequest) GetSigners ¶
func (m *MsgUpdateRequest) GetSigners() []sdk.AccAddress
func (*MsgUpdateRequest) Marshal ¶
func (m *MsgUpdateRequest) Marshal() (dAtA []byte, err error)
func (*MsgUpdateRequest) MarshalToSizedBuffer ¶
func (m *MsgUpdateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateRequest) ProtoMessage ¶
func (*MsgUpdateRequest) ProtoMessage()
func (*MsgUpdateRequest) Reset ¶
func (m *MsgUpdateRequest) Reset()
func (*MsgUpdateRequest) Size ¶
func (m *MsgUpdateRequest) Size() (n int)
func (*MsgUpdateRequest) String ¶
func (m *MsgUpdateRequest) String() string
func (*MsgUpdateRequest) Unmarshal ¶
func (m *MsgUpdateRequest) Unmarshal(dAtA []byte) error
func (*MsgUpdateRequest) ValidateBasic ¶
func (m *MsgUpdateRequest) ValidateBasic() error
func (*MsgUpdateRequest) XXX_DiscardUnknown ¶
func (m *MsgUpdateRequest) XXX_DiscardUnknown()
func (*MsgUpdateRequest) XXX_Marshal ¶
func (m *MsgUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateRequest) XXX_Merge ¶
func (m *MsgUpdateRequest) XXX_Merge(src proto.Message)
func (*MsgUpdateRequest) XXX_Size ¶
func (m *MsgUpdateRequest) XXX_Size() int
func (*MsgUpdateRequest) XXX_Unmarshal ¶
func (m *MsgUpdateRequest) XXX_Unmarshal(b []byte) error
type MsgUpdateResponse ¶
type MsgUpdateResponse struct { }
func (*MsgUpdateResponse) Descriptor ¶
func (*MsgUpdateResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateResponse) Marshal ¶
func (m *MsgUpdateResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateResponse) MarshalTo ¶
func (m *MsgUpdateResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateResponse) ProtoMessage ¶
func (*MsgUpdateResponse) ProtoMessage()
func (*MsgUpdateResponse) Reset ¶
func (m *MsgUpdateResponse) Reset()
func (*MsgUpdateResponse) Size ¶
func (m *MsgUpdateResponse) Size() (n int)
func (*MsgUpdateResponse) String ¶
func (m *MsgUpdateResponse) String() string
func (*MsgUpdateResponse) Unmarshal ¶
func (m *MsgUpdateResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateResponse) XXX_DiscardUnknown()
func (*MsgUpdateResponse) XXX_Marshal ¶
func (m *MsgUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateResponse) XXX_Merge ¶
func (m *MsgUpdateResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateResponse) XXX_Size ¶
func (m *MsgUpdateResponse) XXX_Size() int
func (*MsgUpdateResponse) XXX_Unmarshal ¶
func (m *MsgUpdateResponse) 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"` ProofVerificationEnabled bool `` /* 136-byte string literal not displayed */ }
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 Proof ¶
type Proof struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Duration time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,stdduration" json:"duration"` Bandwidth v1.Bandwidth `protobuf:"bytes,3,opt,name=bandwidth,proto3" json:"bandwidth"` }
func (*Proof) Descriptor ¶
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) XXX_DiscardUnknown ¶
func (m *Proof) XXX_DiscardUnknown()
func (*Proof) XXX_Marshal ¶
func (*Proof) 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 QueryServiceClient ¶
type QueryServiceClient interface { QuerySessions(ctx context.Context, in *QuerySessionsRequest, opts ...grpc.CallOption) (*QuerySessionsResponse, error) QuerySessionsForAddress(ctx context.Context, in *QuerySessionsForAddressRequest, opts ...grpc.CallOption) (*QuerySessionsForAddressResponse, error) QuerySession(ctx context.Context, in *QuerySessionRequest, opts ...grpc.CallOption) (*QuerySessionResponse, 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 { QuerySessions(context.Context, *QuerySessionsRequest) (*QuerySessionsResponse, error) QuerySessionsForAddress(context.Context, *QuerySessionsForAddressRequest) (*QuerySessionsForAddressResponse, error) QuerySession(context.Context, *QuerySessionRequest) (*QuerySessionResponse, error) QueryParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServiceServer is the server API for QueryService service.
type QuerySessionRequest ¶
type QuerySessionRequest struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QuerySessionRequest) Descriptor ¶
func (*QuerySessionRequest) Descriptor() ([]byte, []int)
func (*QuerySessionRequest) Marshal ¶
func (m *QuerySessionRequest) Marshal() (dAtA []byte, err error)
func (*QuerySessionRequest) MarshalTo ¶
func (m *QuerySessionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySessionRequest) MarshalToSizedBuffer ¶
func (m *QuerySessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySessionRequest) ProtoMessage ¶
func (*QuerySessionRequest) ProtoMessage()
func (*QuerySessionRequest) Reset ¶
func (m *QuerySessionRequest) Reset()
func (*QuerySessionRequest) Size ¶
func (m *QuerySessionRequest) Size() (n int)
func (*QuerySessionRequest) String ¶
func (m *QuerySessionRequest) String() string
func (*QuerySessionRequest) Unmarshal ¶
func (m *QuerySessionRequest) Unmarshal(dAtA []byte) error
func (*QuerySessionRequest) XXX_DiscardUnknown ¶
func (m *QuerySessionRequest) XXX_DiscardUnknown()
func (*QuerySessionRequest) XXX_Marshal ¶
func (m *QuerySessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySessionRequest) XXX_Merge ¶
func (m *QuerySessionRequest) XXX_Merge(src proto.Message)
func (*QuerySessionRequest) XXX_Size ¶
func (m *QuerySessionRequest) XXX_Size() int
func (*QuerySessionRequest) XXX_Unmarshal ¶
func (m *QuerySessionRequest) XXX_Unmarshal(b []byte) error
type QuerySessionResponse ¶
type QuerySessionResponse struct {
Session Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session"`
}
func (*QuerySessionResponse) Descriptor ¶
func (*QuerySessionResponse) Descriptor() ([]byte, []int)
func (*QuerySessionResponse) Marshal ¶
func (m *QuerySessionResponse) Marshal() (dAtA []byte, err error)
func (*QuerySessionResponse) MarshalTo ¶
func (m *QuerySessionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySessionResponse) MarshalToSizedBuffer ¶
func (m *QuerySessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySessionResponse) ProtoMessage ¶
func (*QuerySessionResponse) ProtoMessage()
func (*QuerySessionResponse) Reset ¶
func (m *QuerySessionResponse) Reset()
func (*QuerySessionResponse) Size ¶
func (m *QuerySessionResponse) Size() (n int)
func (*QuerySessionResponse) String ¶
func (m *QuerySessionResponse) String() string
func (*QuerySessionResponse) Unmarshal ¶
func (m *QuerySessionResponse) Unmarshal(dAtA []byte) error
func (*QuerySessionResponse) XXX_DiscardUnknown ¶
func (m *QuerySessionResponse) XXX_DiscardUnknown()
func (*QuerySessionResponse) XXX_Marshal ¶
func (m *QuerySessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySessionResponse) XXX_Merge ¶
func (m *QuerySessionResponse) XXX_Merge(src proto.Message)
func (*QuerySessionResponse) XXX_Size ¶
func (m *QuerySessionResponse) XXX_Size() int
func (*QuerySessionResponse) XXX_Unmarshal ¶
func (m *QuerySessionResponse) XXX_Unmarshal(b []byte) error
type QuerySessionsForAddressRequest ¶
type QuerySessionsForAddressRequest 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 (*QuerySessionsForAddressRequest) Descriptor ¶
func (*QuerySessionsForAddressRequest) Descriptor() ([]byte, []int)
func (*QuerySessionsForAddressRequest) Marshal ¶
func (m *QuerySessionsForAddressRequest) Marshal() (dAtA []byte, err error)
func (*QuerySessionsForAddressRequest) MarshalTo ¶
func (m *QuerySessionsForAddressRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySessionsForAddressRequest) MarshalToSizedBuffer ¶
func (m *QuerySessionsForAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySessionsForAddressRequest) ProtoMessage ¶
func (*QuerySessionsForAddressRequest) ProtoMessage()
func (*QuerySessionsForAddressRequest) Reset ¶
func (m *QuerySessionsForAddressRequest) Reset()
func (*QuerySessionsForAddressRequest) Size ¶
func (m *QuerySessionsForAddressRequest) Size() (n int)
func (*QuerySessionsForAddressRequest) String ¶
func (m *QuerySessionsForAddressRequest) String() string
func (*QuerySessionsForAddressRequest) Unmarshal ¶
func (m *QuerySessionsForAddressRequest) Unmarshal(dAtA []byte) error
func (*QuerySessionsForAddressRequest) XXX_DiscardUnknown ¶
func (m *QuerySessionsForAddressRequest) XXX_DiscardUnknown()
func (*QuerySessionsForAddressRequest) XXX_Marshal ¶
func (m *QuerySessionsForAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySessionsForAddressRequest) XXX_Merge ¶
func (m *QuerySessionsForAddressRequest) XXX_Merge(src proto.Message)
func (*QuerySessionsForAddressRequest) XXX_Size ¶
func (m *QuerySessionsForAddressRequest) XXX_Size() int
func (*QuerySessionsForAddressRequest) XXX_Unmarshal ¶
func (m *QuerySessionsForAddressRequest) XXX_Unmarshal(b []byte) error
type QuerySessionsForAddressResponse ¶
type QuerySessionsForAddressResponse struct { Sessions []Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QuerySessionsForAddressResponse) Descriptor ¶
func (*QuerySessionsForAddressResponse) Descriptor() ([]byte, []int)
func (*QuerySessionsForAddressResponse) Marshal ¶
func (m *QuerySessionsForAddressResponse) Marshal() (dAtA []byte, err error)
func (*QuerySessionsForAddressResponse) MarshalTo ¶
func (m *QuerySessionsForAddressResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySessionsForAddressResponse) MarshalToSizedBuffer ¶
func (m *QuerySessionsForAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySessionsForAddressResponse) ProtoMessage ¶
func (*QuerySessionsForAddressResponse) ProtoMessage()
func (*QuerySessionsForAddressResponse) Reset ¶
func (m *QuerySessionsForAddressResponse) Reset()
func (*QuerySessionsForAddressResponse) Size ¶
func (m *QuerySessionsForAddressResponse) Size() (n int)
func (*QuerySessionsForAddressResponse) String ¶
func (m *QuerySessionsForAddressResponse) String() string
func (*QuerySessionsForAddressResponse) Unmarshal ¶
func (m *QuerySessionsForAddressResponse) Unmarshal(dAtA []byte) error
func (*QuerySessionsForAddressResponse) XXX_DiscardUnknown ¶
func (m *QuerySessionsForAddressResponse) XXX_DiscardUnknown()
func (*QuerySessionsForAddressResponse) XXX_Marshal ¶
func (m *QuerySessionsForAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySessionsForAddressResponse) XXX_Merge ¶
func (m *QuerySessionsForAddressResponse) XXX_Merge(src proto.Message)
func (*QuerySessionsForAddressResponse) XXX_Size ¶
func (m *QuerySessionsForAddressResponse) XXX_Size() int
func (*QuerySessionsForAddressResponse) XXX_Unmarshal ¶
func (m *QuerySessionsForAddressResponse) XXX_Unmarshal(b []byte) error
type QuerySessionsRequest ¶
type QuerySessionsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QuerySessionsRequest) Descriptor ¶
func (*QuerySessionsRequest) Descriptor() ([]byte, []int)
func (*QuerySessionsRequest) Marshal ¶
func (m *QuerySessionsRequest) Marshal() (dAtA []byte, err error)
func (*QuerySessionsRequest) MarshalTo ¶
func (m *QuerySessionsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySessionsRequest) MarshalToSizedBuffer ¶
func (m *QuerySessionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySessionsRequest) ProtoMessage ¶
func (*QuerySessionsRequest) ProtoMessage()
func (*QuerySessionsRequest) Reset ¶
func (m *QuerySessionsRequest) Reset()
func (*QuerySessionsRequest) Size ¶
func (m *QuerySessionsRequest) Size() (n int)
func (*QuerySessionsRequest) String ¶
func (m *QuerySessionsRequest) String() string
func (*QuerySessionsRequest) Unmarshal ¶
func (m *QuerySessionsRequest) Unmarshal(dAtA []byte) error
func (*QuerySessionsRequest) XXX_DiscardUnknown ¶
func (m *QuerySessionsRequest) XXX_DiscardUnknown()
func (*QuerySessionsRequest) XXX_Marshal ¶
func (m *QuerySessionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySessionsRequest) XXX_Merge ¶
func (m *QuerySessionsRequest) XXX_Merge(src proto.Message)
func (*QuerySessionsRequest) XXX_Size ¶
func (m *QuerySessionsRequest) XXX_Size() int
func (*QuerySessionsRequest) XXX_Unmarshal ¶
func (m *QuerySessionsRequest) XXX_Unmarshal(b []byte) error
type QuerySessionsResponse ¶
type QuerySessionsResponse struct { Sessions []Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QuerySessionsResponse) Descriptor ¶
func (*QuerySessionsResponse) Descriptor() ([]byte, []int)
func (*QuerySessionsResponse) Marshal ¶
func (m *QuerySessionsResponse) Marshal() (dAtA []byte, err error)
func (*QuerySessionsResponse) MarshalTo ¶
func (m *QuerySessionsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySessionsResponse) MarshalToSizedBuffer ¶
func (m *QuerySessionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySessionsResponse) ProtoMessage ¶
func (*QuerySessionsResponse) ProtoMessage()
func (*QuerySessionsResponse) Reset ¶
func (m *QuerySessionsResponse) Reset()
func (*QuerySessionsResponse) Size ¶
func (m *QuerySessionsResponse) Size() (n int)
func (*QuerySessionsResponse) String ¶
func (m *QuerySessionsResponse) String() string
func (*QuerySessionsResponse) Unmarshal ¶
func (m *QuerySessionsResponse) Unmarshal(dAtA []byte) error
func (*QuerySessionsResponse) XXX_DiscardUnknown ¶
func (m *QuerySessionsResponse) XXX_DiscardUnknown()
func (*QuerySessionsResponse) XXX_Marshal ¶
func (m *QuerySessionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySessionsResponse) XXX_Merge ¶
func (m *QuerySessionsResponse) XXX_Merge(src proto.Message)
func (*QuerySessionsResponse) XXX_Size ¶
func (m *QuerySessionsResponse) XXX_Size() int
func (*QuerySessionsResponse) XXX_Unmarshal ¶
func (m *QuerySessionsResponse) XXX_Unmarshal(b []byte) error
type Session ¶
type Session struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Subscription uint64 `protobuf:"varint,2,opt,name=subscription,proto3" json:"subscription,omitempty"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` Duration time.Duration `protobuf:"bytes,5,opt,name=duration,proto3,stdduration" json:"duration"` Bandwidth v1.Bandwidth `protobuf:"bytes,6,opt,name=bandwidth,proto3" json:"bandwidth"` Status v1.Status `protobuf:"varint,7,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` StatusAt time.Time `protobuf:"bytes,8,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"` }
func (*Session) Descriptor ¶
func (*Session) MarshalToSizedBuffer ¶
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) XXX_DiscardUnknown ¶
func (m *Session) XXX_DiscardUnknown()
func (*Session) XXX_Marshal ¶
func (*Session) XXX_Unmarshal ¶
type UnimplementedMsgServiceServer ¶
type UnimplementedMsgServiceServer struct { }
UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServiceServer) MsgEnd ¶
func (*UnimplementedMsgServiceServer) MsgEnd(ctx context.Context, req *MsgEndRequest) (*MsgEndResponse, error)
func (*UnimplementedMsgServiceServer) MsgStart ¶
func (*UnimplementedMsgServiceServer) MsgStart(ctx context.Context, req *MsgStartRequest) (*MsgStartResponse, error)
func (*UnimplementedMsgServiceServer) MsgUpdate ¶
func (*UnimplementedMsgServiceServer) MsgUpdate(ctx context.Context, req *MsgUpdateRequest) (*MsgUpdateResponse, 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) QuerySession ¶
func (*UnimplementedQueryServiceServer) QuerySession(ctx context.Context, req *QuerySessionRequest) (*QuerySessionResponse, error)
func (*UnimplementedQueryServiceServer) QuerySessions ¶
func (*UnimplementedQueryServiceServer) QuerySessions(ctx context.Context, req *QuerySessionsRequest) (*QuerySessionsResponse, error)
func (*UnimplementedQueryServiceServer) QuerySessionsForAddress ¶
func (*UnimplementedQueryServiceServer) QuerySessionsForAddress(ctx context.Context, req *QuerySessionsForAddressRequest) (*QuerySessionsForAddressResponse, error)