boulder: github.com/letsencrypt/boulder/grpc/test_proto Index | Files

package test_proto

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

Index

Package Files

generate.go interceptors_test.pb.go

Variables

var File_grpc_test_proto_interceptors_test_proto protoreflect.FileDescriptor

func RegisterChillerServer Uses

func RegisterChillerServer(s *grpc.Server, srv ChillerServer)

type ChillerClient Uses

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

ChillerClient is the client API for Chiller service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewChillerClient Uses

func NewChillerClient(cc grpc.ClientConnInterface) ChillerClient

type ChillerServer Uses

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

ChillerServer is the server API for Chiller service.

type Time Uses

type Time struct {
    Time *int64 `protobuf:"varint,1,opt,name=time" json:"time,omitempty"` // In nanoseconds
    // contains filtered or unexported fields
}

func (*Time) Descriptor Uses

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

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetTime Uses

func (x *Time) GetTime() int64

func (*Time) ProtoMessage Uses

func (*Time) ProtoMessage()

func (*Time) ProtoReflect Uses

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

func (*Time) Reset Uses

func (x *Time) Reset()

func (*Time) String Uses

func (x *Time) String() string

type UnimplementedChillerServer Uses

type UnimplementedChillerServer struct {
}

UnimplementedChillerServer can be embedded to have forward compatible implementations.

func (*UnimplementedChillerServer) Chill Uses

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

Package test_proto imports 9 packages (graph). Updated 2020-04-25. Refresh now. Tools for package owners.