...

Package test_proto

import "github.com/letsencrypt/boulder/grpc/test_proto"
Overview
Index

Overview ▾

Variables

Chiller_ServiceDesc is the grpc.ServiceDesc for Chiller service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

var Chiller_ServiceDesc = grpc.ServiceDesc{
    ServiceName: "Chiller",
    HandlerType: (*ChillerServer)(nil),
    Methods: []grpc.MethodDesc{
        {
            MethodName: "Chill",
            Handler:    _Chiller_Chill_Handler,
        },
    },
    Streams:  []grpc.StreamDesc{},
    Metadata: "interceptors_test.proto",
}
var File_interceptors_test_proto protoreflect.FileDescriptor

func RegisterChillerServer

func RegisterChillerServer(s grpc.ServiceRegistrar, srv ChillerServer)

type ChillerClient

ChillerClient is the client API for Chiller 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.

type ChillerClient interface {
    // Sleep for the given amount of time, and return the amount of time slept.
    Chill(ctx context.Context, in *Time, opts ...grpc.CallOption) (*Time, error)
}

func NewChillerClient

func NewChillerClient(cc grpc.ClientConnInterface) ChillerClient

type ChillerServer

ChillerServer is the server API for Chiller service. All implementations must embed UnimplementedChillerServer for forward compatibility

type ChillerServer interface {
    // Sleep for the given amount of time, and return the amount of time slept.
    Chill(context.Context, *Time) (*Time, error)
    // contains filtered or unexported methods
}

type Time

type Time struct {
    Duration *durationpb.Duration `protobuf:"bytes,2,opt,name=duration,proto3" json:"duration,omitempty"`
    // contains filtered or unexported fields
}

func (*Time) Descriptor

func (*Time) Descriptor() ([]byte, []int)

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetDuration

func (x *Time) GetDuration() *durationpb.Duration

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoReflect

func (x *Time) ProtoReflect() protoreflect.Message

func (*Time) Reset

func (x *Time) Reset()

func (*Time) String

func (x *Time) String() string

type UnimplementedChillerServer

UnimplementedChillerServer must be embedded to have forward compatible implementations.

type UnimplementedChillerServer struct {
}

func (UnimplementedChillerServer) Chill

func (UnimplementedChillerServer) Chill(context.Context, *Time) (*Time, error)

type UnsafeChillerServer

UnsafeChillerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChillerServer will result in compilation errors.

type UnsafeChillerServer interface {
    // contains filtered or unexported methods
}