v1

package
v0.0.0-...-4241208 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CourierJobErrorReason_name = map[int32]string{
		0: "UNKNOWN_ERROR",
	}
	CourierJobErrorReason_value = map[string]int32{
		"UNKNOWN_ERROR": 0,
	}
)

Enum value maps for CourierJobErrorReason.

View Source
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)

View Source
var File_v1_courier_error_proto protoreflect.FileDescriptor
View Source
var File_v1_courier_proto protoreflect.FileDescriptor

Functions

func ErrorUnknownError

func ErrorUnknownError(format string, args ...interface{}) *errors.Error

func IsUnknownError

func IsUnknownError(err error) bool

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) Enum

func (CourierJobErrorReason) EnumDescriptor deprecated

func (CourierJobErrorReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use CourierJobErrorReason.Descriptor instead.

func (CourierJobErrorReason) Number

func (CourierJobErrorReason) String

func (x CourierJobErrorReason) String() string

func (CourierJobErrorReason) Type

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL