Documentation ¶
Index ¶
- Variables
- func ErrorUnknownError(format string, args ...interface{}) *errors.Error
- func IsUnknownError(err error) bool
- func RegisterCourierServer(s grpc.ServiceRegistrar, srv CourierServer)
- type CourierClient
- type CourierJobErrorReason
- func (CourierJobErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x CourierJobErrorReason) Enum() *CourierJobErrorReason
- func (CourierJobErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x CourierJobErrorReason) Number() protoreflect.EnumNumber
- func (x CourierJobErrorReason) String() string
- func (CourierJobErrorReason) Type() protoreflect.EnumType
- type CourierServer
- type UnimplementedCourierServer
- type UnsafeCourierServer
Constants ¶
This section is empty.
Variables ¶
var ( CourierJobErrorReason_name = map[int32]string{ 0: "UNKNOWN_ERROR", } CourierJobErrorReason_value = map[string]int32{ "UNKNOWN_ERROR": 0, } )
Enum value maps for CourierJobErrorReason.
var Courier_ServiceDesc = grpc.ServiceDesc{ ServiceName: "courier.job.v1.Courier", HandlerType: (*CourierServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "v1/courier.proto", }
Courier_ServiceDesc is the grpc.ServiceDesc for Courier service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_v1_courier_error_proto protoreflect.FileDescriptor
var File_v1_courier_proto protoreflect.FileDescriptor
Functions ¶
func ErrorUnknownError ¶
func IsUnknownError ¶
func RegisterCourierServer ¶
func RegisterCourierServer(s grpc.ServiceRegistrar, srv CourierServer)
Types ¶
type CourierClient ¶
type CourierClient interface { }
CourierClient is the client API for Courier 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 NewCourierClient ¶
func NewCourierClient(cc grpc.ClientConnInterface) CourierClient
type CourierJobErrorReason ¶
type CourierJobErrorReason int32
const (
CourierJobErrorReason_UNKNOWN_ERROR CourierJobErrorReason = 0
)
func (CourierJobErrorReason) Descriptor ¶
func (CourierJobErrorReason) Descriptor() protoreflect.EnumDescriptor
func (CourierJobErrorReason) Enum ¶
func (x CourierJobErrorReason) Enum() *CourierJobErrorReason
func (CourierJobErrorReason) EnumDescriptor
deprecated
func (CourierJobErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use CourierJobErrorReason.Descriptor instead.
func (CourierJobErrorReason) Number ¶
func (x CourierJobErrorReason) Number() protoreflect.EnumNumber
func (CourierJobErrorReason) String ¶
func (x CourierJobErrorReason) String() string
func (CourierJobErrorReason) Type ¶
func (CourierJobErrorReason) Type() protoreflect.EnumType
type CourierServer ¶
type CourierServer interface {
// contains filtered or unexported methods
}
CourierServer is the server API for Courier service. All implementations must embed UnimplementedCourierServer for forward compatibility
type UnimplementedCourierServer ¶
type UnimplementedCourierServer struct { }
UnimplementedCourierServer must be embedded to have forward compatible implementations.
type UnsafeCourierServer ¶
type UnsafeCourierServer interface {
// contains filtered or unexported methods
}
UnsafeCourierServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CourierServer will result in compilation errors.