Versions in this module Expand all Collapse all v0 v0.106.0 Nov 15, 2021 Changes in this version + var ErrIntOverflowService = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling") + func RegisterSleepServiceServer(s *grpc.Server, srv SleepServiceServer) + type SleepRequest struct + Milliseconds int64 + func (*SleepRequest) Descriptor() ([]byte, []int) + func (*SleepRequest) ProtoMessage() + func (m *SleepRequest) GetMilliseconds() int64 + func (m *SleepRequest) Marshal() (dAtA []byte, err error) + func (m *SleepRequest) MarshalTo(dAtA []byte) (int, error) + func (m *SleepRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SleepRequest) Reset() + func (m *SleepRequest) Size() (n int) + func (m *SleepRequest) Unmarshal(dAtA []byte) error + func (m *SleepRequest) XXX_DiscardUnknown() + func (m *SleepRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SleepRequest) XXX_Merge(src proto.Message) + func (m *SleepRequest) XXX_Size() int + func (m *SleepRequest) XXX_Unmarshal(b []byte) error + func (this *SleepRequest) Equal(that interface{}) bool + func (this *SleepRequest) GoString() string + func (this *SleepRequest) String() string + type SleepResponse struct + func (*SleepResponse) Descriptor() ([]byte, []int) + func (*SleepResponse) ProtoMessage() + func (m *SleepResponse) Marshal() (dAtA []byte, err error) + func (m *SleepResponse) MarshalTo(dAtA []byte) (int, error) + func (m *SleepResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *SleepResponse) Reset() + func (m *SleepResponse) Size() (n int) + func (m *SleepResponse) Unmarshal(dAtA []byte) error + func (m *SleepResponse) XXX_DiscardUnknown() + func (m *SleepResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SleepResponse) XXX_Merge(src proto.Message) + func (m *SleepResponse) XXX_Size() int + func (m *SleepResponse) XXX_Unmarshal(b []byte) error + func (this *SleepResponse) Equal(that interface{}) bool + func (this *SleepResponse) GoString() string + func (this *SleepResponse) String() string + type SleepService struct + func (s *SleepService) SleepFor(ctx context.Context, req *SleepRequest) (*SleepResponse, error) + type SleepServiceClient interface + SleepFor func(ctx context.Context, in *SleepRequest, opts ...grpc.CallOption) (*SleepResponse, error) + func NewSleepServiceClient(cc *grpc.ClientConn) SleepServiceClient + type SleepServiceServer interface + SleepFor func(context.Context, *SleepRequest) (*SleepResponse, error) + type UnimplementedSleepServiceServer struct + func (*UnimplementedSleepServiceServer) SleepFor(ctx context.Context, req *SleepRequest) (*SleepResponse, error)