Versions in this module Expand all Collapse all v0 v0.16.15 Jul 20, 2023 v0.0.1 Jul 20, 2023 Changes in this version + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + type QueryClient interface + RecoveredSinceDowntimeOfLength func(ctx context.Context, in *RecoveredSinceDowntimeOfLengthRequest, ...) (*RecoveredSinceDowntimeOfLengthResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + RecoveredSinceDowntimeOfLength func(context.Context, *RecoveredSinceDowntimeOfLengthRequest) (*RecoveredSinceDowntimeOfLengthResponse, error) + type RecoveredSinceDowntimeOfLengthRequest struct + Downtime types.Downtime + Recovery time.Duration + func (*RecoveredSinceDowntimeOfLengthRequest) Descriptor() ([]byte, []int) + func (*RecoveredSinceDowntimeOfLengthRequest) ProtoMessage() + func (m *RecoveredSinceDowntimeOfLengthRequest) GetDowntime() types.Downtime + func (m *RecoveredSinceDowntimeOfLengthRequest) GetRecovery() time.Duration + func (m *RecoveredSinceDowntimeOfLengthRequest) Marshal() (dAtA []byte, err error) + func (m *RecoveredSinceDowntimeOfLengthRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RecoveredSinceDowntimeOfLengthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RecoveredSinceDowntimeOfLengthRequest) Reset() + func (m *RecoveredSinceDowntimeOfLengthRequest) Size() (n int) + func (m *RecoveredSinceDowntimeOfLengthRequest) String() string + func (m *RecoveredSinceDowntimeOfLengthRequest) Unmarshal(dAtA []byte) error + func (m *RecoveredSinceDowntimeOfLengthRequest) XXX_DiscardUnknown() + func (m *RecoveredSinceDowntimeOfLengthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RecoveredSinceDowntimeOfLengthRequest) XXX_Merge(src proto.Message) + func (m *RecoveredSinceDowntimeOfLengthRequest) XXX_Size() int + func (m *RecoveredSinceDowntimeOfLengthRequest) XXX_Unmarshal(b []byte) error + type RecoveredSinceDowntimeOfLengthResponse struct + SuccesfullyRecovered bool + func (*RecoveredSinceDowntimeOfLengthResponse) Descriptor() ([]byte, []int) + func (*RecoveredSinceDowntimeOfLengthResponse) ProtoMessage() + func (m *RecoveredSinceDowntimeOfLengthResponse) GetSuccesfullyRecovered() bool + func (m *RecoveredSinceDowntimeOfLengthResponse) Marshal() (dAtA []byte, err error) + func (m *RecoveredSinceDowntimeOfLengthResponse) MarshalTo(dAtA []byte) (int, error) + func (m *RecoveredSinceDowntimeOfLengthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RecoveredSinceDowntimeOfLengthResponse) Reset() + func (m *RecoveredSinceDowntimeOfLengthResponse) Size() (n int) + func (m *RecoveredSinceDowntimeOfLengthResponse) String() string + func (m *RecoveredSinceDowntimeOfLengthResponse) Unmarshal(dAtA []byte) error + func (m *RecoveredSinceDowntimeOfLengthResponse) XXX_DiscardUnknown() + func (m *RecoveredSinceDowntimeOfLengthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RecoveredSinceDowntimeOfLengthResponse) XXX_Merge(src proto.Message) + func (m *RecoveredSinceDowntimeOfLengthResponse) XXX_Size() int + func (m *RecoveredSinceDowntimeOfLengthResponse) XXX_Unmarshal(b []byte) error + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) RecoveredSinceDowntimeOfLength(ctx context.Context, req *RecoveredSinceDowntimeOfLengthRequest) (*RecoveredSinceDowntimeOfLengthResponse, error)