Documentation ¶
Index ¶
- Variables
- func RegisterCheckServiceServer(s grpc.ServiceRegistrar, srv CheckServiceServer)
- type Check
- func (*Check) Descriptor() ([]byte, []int)deprecated
- func (x *Check) GetErr() string
- func (x *Check) GetLog() string
- func (x *Check) GetPassed() *wrapperspb.BoolValue
- func (x *Check) GetRoundId() uint64
- func (x *Check) GetServiceId() *v1.UUID
- func (*Check) ProtoMessage()
- func (x *Check) ProtoReflect() protoreflect.Message
- func (x *Check) Reset()
- func (x *Check) String() string
- type CheckServiceClient
- type CheckServiceServer
- type GetAllByRoundIDRequest
- func (*GetAllByRoundIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllByRoundIDRequest) GetRoundId() uint64
- func (*GetAllByRoundIDRequest) ProtoMessage()
- func (x *GetAllByRoundIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllByRoundIDRequest) Reset()
- func (x *GetAllByRoundIDRequest) String() string
- type GetAllByRoundIDResponse
- func (*GetAllByRoundIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllByRoundIDResponse) GetChecks() []*Check
- func (*GetAllByRoundIDResponse) ProtoMessage()
- func (x *GetAllByRoundIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllByRoundIDResponse) Reset()
- func (x *GetAllByRoundIDResponse) String() string
- type GetAllByServiceIDRequest
- func (*GetAllByServiceIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllByServiceIDRequest) GetServiceId() *v1.UUID
- func (*GetAllByServiceIDRequest) ProtoMessage()
- func (x *GetAllByServiceIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetAllByServiceIDRequest) Reset()
- func (x *GetAllByServiceIDRequest) String() string
- type GetAllByServiceIDResponse
- func (*GetAllByServiceIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllByServiceIDResponse) GetChecks() []*Check
- func (*GetAllByServiceIDResponse) ProtoMessage()
- func (x *GetAllByServiceIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllByServiceIDResponse) Reset()
- func (x *GetAllByServiceIDResponse) String() string
- type GetByRoundServiceIDRequest
- func (*GetByRoundServiceIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByRoundServiceIDRequest) GetRoundId() uint64
- func (x *GetByRoundServiceIDRequest) GetServiceId() *v1.UUID
- func (*GetByRoundServiceIDRequest) ProtoMessage()
- func (x *GetByRoundServiceIDRequest) ProtoReflect() protoreflect.Message
- func (x *GetByRoundServiceIDRequest) Reset()
- func (x *GetByRoundServiceIDRequest) String() string
- type GetByRoundServiceIDResponse
- func (*GetByRoundServiceIDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByRoundServiceIDResponse) GetCheck() *Check
- func (*GetByRoundServiceIDResponse) ProtoMessage()
- func (x *GetByRoundServiceIDResponse) ProtoReflect() protoreflect.Message
- func (x *GetByRoundServiceIDResponse) Reset()
- func (x *GetByRoundServiceIDResponse) String() string
- type UnimplementedCheckServiceServer
- func (UnimplementedCheckServiceServer) GetAllByRoundID(context.Context, *GetAllByRoundIDRequest) (*GetAllByRoundIDResponse, error)
- func (UnimplementedCheckServiceServer) GetAllByServiceID(context.Context, *GetAllByServiceIDRequest) (*GetAllByServiceIDResponse, error)
- func (UnimplementedCheckServiceServer) GetByRoundServiceID(context.Context, *GetByRoundServiceIDRequest) (*GetByRoundServiceIDResponse, error)
- type UnsafeCheckServiceServer
Constants ¶
This section is empty.
Variables ¶
var CheckService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "pkg.proto.check.v1.CheckService", HandlerType: (*CheckServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetAllByRoundID", Handler: _CheckService_GetAllByRoundID_Handler, }, { MethodName: "GetByRoundServiceID", Handler: _CheckService_GetByRoundServiceID_Handler, }, { MethodName: "GetAllByServiceID", Handler: _CheckService_GetAllByServiceID_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/proto/check/v1/check.proto", }
CheckService_ServiceDesc is the grpc.ServiceDesc for CheckService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_proto_check_v1_check_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCheckServiceServer ¶
func RegisterCheckServiceServer(s grpc.ServiceRegistrar, srv CheckServiceServer)
Types ¶
type Check ¶
type Check struct { ServiceId *v1.UUID `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` RoundId uint64 `protobuf:"varint,2,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Err string `protobuf:"bytes,4,opt,name=err,proto3" json:"err,omitempty"` Passed *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=passed,proto3" json:"passed,omitempty"` // contains filtered or unexported fields }
func (*Check) Descriptor
deprecated
func (*Check) GetPassed ¶
func (x *Check) GetPassed() *wrapperspb.BoolValue
func (*Check) GetRoundId ¶
func (*Check) GetServiceId ¶
func (*Check) ProtoMessage ¶
func (*Check) ProtoMessage()
func (*Check) ProtoReflect ¶
func (x *Check) ProtoReflect() protoreflect.Message
type CheckServiceClient ¶
type CheckServiceClient interface { GetAllByRoundID(ctx context.Context, in *GetAllByRoundIDRequest, opts ...grpc.CallOption) (*GetAllByRoundIDResponse, error) GetByRoundServiceID(ctx context.Context, in *GetByRoundServiceIDRequest, opts ...grpc.CallOption) (*GetByRoundServiceIDResponse, error) GetAllByServiceID(ctx context.Context, in *GetAllByServiceIDRequest, opts ...grpc.CallOption) (*GetAllByServiceIDResponse, error) }
CheckServiceClient is the client API for CheckService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCheckServiceClient ¶
func NewCheckServiceClient(cc grpc.ClientConnInterface) CheckServiceClient
type CheckServiceServer ¶
type CheckServiceServer interface { GetAllByRoundID(context.Context, *GetAllByRoundIDRequest) (*GetAllByRoundIDResponse, error) GetByRoundServiceID(context.Context, *GetByRoundServiceIDRequest) (*GetByRoundServiceIDResponse, error) GetAllByServiceID(context.Context, *GetAllByServiceIDRequest) (*GetAllByServiceIDResponse, error) // contains filtered or unexported methods }
CheckServiceServer is the server API for CheckService service. All implementations must embed UnimplementedCheckServiceServer for forward compatibility
type GetAllByRoundIDRequest ¶
type GetAllByRoundIDRequest struct { RoundId uint64 `protobuf:"varint,1,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"` // contains filtered or unexported fields }
func (*GetAllByRoundIDRequest) Descriptor
deprecated
func (*GetAllByRoundIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllByRoundIDRequest.ProtoReflect.Descriptor instead.
func (*GetAllByRoundIDRequest) GetRoundId ¶
func (x *GetAllByRoundIDRequest) GetRoundId() uint64
func (*GetAllByRoundIDRequest) ProtoMessage ¶
func (*GetAllByRoundIDRequest) ProtoMessage()
func (*GetAllByRoundIDRequest) ProtoReflect ¶
func (x *GetAllByRoundIDRequest) ProtoReflect() protoreflect.Message
func (*GetAllByRoundIDRequest) Reset ¶
func (x *GetAllByRoundIDRequest) Reset()
func (*GetAllByRoundIDRequest) String ¶
func (x *GetAllByRoundIDRequest) String() string
type GetAllByRoundIDResponse ¶
type GetAllByRoundIDResponse struct { Checks []*Check `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` // contains filtered or unexported fields }
func (*GetAllByRoundIDResponse) Descriptor
deprecated
func (*GetAllByRoundIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllByRoundIDResponse.ProtoReflect.Descriptor instead.
func (*GetAllByRoundIDResponse) GetChecks ¶
func (x *GetAllByRoundIDResponse) GetChecks() []*Check
func (*GetAllByRoundIDResponse) ProtoMessage ¶
func (*GetAllByRoundIDResponse) ProtoMessage()
func (*GetAllByRoundIDResponse) ProtoReflect ¶
func (x *GetAllByRoundIDResponse) ProtoReflect() protoreflect.Message
func (*GetAllByRoundIDResponse) Reset ¶
func (x *GetAllByRoundIDResponse) Reset()
func (*GetAllByRoundIDResponse) String ¶
func (x *GetAllByRoundIDResponse) String() string
type GetAllByServiceIDRequest ¶
type GetAllByServiceIDRequest struct { ServiceId *v1.UUID `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
func (*GetAllByServiceIDRequest) Descriptor
deprecated
func (*GetAllByServiceIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllByServiceIDRequest.ProtoReflect.Descriptor instead.
func (*GetAllByServiceIDRequest) GetServiceId ¶
func (x *GetAllByServiceIDRequest) GetServiceId() *v1.UUID
func (*GetAllByServiceIDRequest) ProtoMessage ¶
func (*GetAllByServiceIDRequest) ProtoMessage()
func (*GetAllByServiceIDRequest) ProtoReflect ¶
func (x *GetAllByServiceIDRequest) ProtoReflect() protoreflect.Message
func (*GetAllByServiceIDRequest) Reset ¶
func (x *GetAllByServiceIDRequest) Reset()
func (*GetAllByServiceIDRequest) String ¶
func (x *GetAllByServiceIDRequest) String() string
type GetAllByServiceIDResponse ¶
type GetAllByServiceIDResponse struct { Checks []*Check `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` // contains filtered or unexported fields }
func (*GetAllByServiceIDResponse) Descriptor
deprecated
func (*GetAllByServiceIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllByServiceIDResponse.ProtoReflect.Descriptor instead.
func (*GetAllByServiceIDResponse) GetChecks ¶
func (x *GetAllByServiceIDResponse) GetChecks() []*Check
func (*GetAllByServiceIDResponse) ProtoMessage ¶
func (*GetAllByServiceIDResponse) ProtoMessage()
func (*GetAllByServiceIDResponse) ProtoReflect ¶
func (x *GetAllByServiceIDResponse) ProtoReflect() protoreflect.Message
func (*GetAllByServiceIDResponse) Reset ¶
func (x *GetAllByServiceIDResponse) Reset()
func (*GetAllByServiceIDResponse) String ¶
func (x *GetAllByServiceIDResponse) String() string
type GetByRoundServiceIDRequest ¶
type GetByRoundServiceIDRequest struct { ServiceId *v1.UUID `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` RoundId uint64 `protobuf:"varint,2,opt,name=round_id,json=roundId,proto3" json:"round_id,omitempty"` // contains filtered or unexported fields }
func (*GetByRoundServiceIDRequest) Descriptor
deprecated
func (*GetByRoundServiceIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByRoundServiceIDRequest.ProtoReflect.Descriptor instead.
func (*GetByRoundServiceIDRequest) GetRoundId ¶
func (x *GetByRoundServiceIDRequest) GetRoundId() uint64
func (*GetByRoundServiceIDRequest) GetServiceId ¶
func (x *GetByRoundServiceIDRequest) GetServiceId() *v1.UUID
func (*GetByRoundServiceIDRequest) ProtoMessage ¶
func (*GetByRoundServiceIDRequest) ProtoMessage()
func (*GetByRoundServiceIDRequest) ProtoReflect ¶
func (x *GetByRoundServiceIDRequest) ProtoReflect() protoreflect.Message
func (*GetByRoundServiceIDRequest) Reset ¶
func (x *GetByRoundServiceIDRequest) Reset()
func (*GetByRoundServiceIDRequest) String ¶
func (x *GetByRoundServiceIDRequest) String() string
type GetByRoundServiceIDResponse ¶
type GetByRoundServiceIDResponse struct { Check *Check `protobuf:"bytes,1,opt,name=check,proto3" json:"check,omitempty"` // contains filtered or unexported fields }
func (*GetByRoundServiceIDResponse) Descriptor
deprecated
func (*GetByRoundServiceIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByRoundServiceIDResponse.ProtoReflect.Descriptor instead.
func (*GetByRoundServiceIDResponse) GetCheck ¶
func (x *GetByRoundServiceIDResponse) GetCheck() *Check
func (*GetByRoundServiceIDResponse) ProtoMessage ¶
func (*GetByRoundServiceIDResponse) ProtoMessage()
func (*GetByRoundServiceIDResponse) ProtoReflect ¶
func (x *GetByRoundServiceIDResponse) ProtoReflect() protoreflect.Message
func (*GetByRoundServiceIDResponse) Reset ¶
func (x *GetByRoundServiceIDResponse) Reset()
func (*GetByRoundServiceIDResponse) String ¶
func (x *GetByRoundServiceIDResponse) String() string
type UnimplementedCheckServiceServer ¶
type UnimplementedCheckServiceServer struct { }
UnimplementedCheckServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCheckServiceServer) GetAllByRoundID ¶
func (UnimplementedCheckServiceServer) GetAllByRoundID(context.Context, *GetAllByRoundIDRequest) (*GetAllByRoundIDResponse, error)
func (UnimplementedCheckServiceServer) GetAllByServiceID ¶
func (UnimplementedCheckServiceServer) GetAllByServiceID(context.Context, *GetAllByServiceIDRequest) (*GetAllByServiceIDResponse, error)
func (UnimplementedCheckServiceServer) GetByRoundServiceID ¶
func (UnimplementedCheckServiceServer) GetByRoundServiceID(context.Context, *GetByRoundServiceIDRequest) (*GetByRoundServiceIDResponse, error)
type UnsafeCheckServiceServer ¶
type UnsafeCheckServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCheckServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CheckServiceServer will result in compilation errors.