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

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.ClientConn) 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Time) Descriptor Uses

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

func (*Time) GetTime Uses

func (m *Time) GetTime() int64

func (*Time) ProtoMessage Uses

func (*Time) ProtoMessage()

func (*Time) Reset Uses

func (m *Time) Reset()

func (*Time) String Uses

func (m *Time) String() string

func (*Time) XXX_DiscardUnknown Uses

func (m *Time) XXX_DiscardUnknown()

func (*Time) XXX_Marshal Uses

func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Time) XXX_Merge Uses

func (m *Time) XXX_Merge(src proto.Message)

func (*Time) XXX_Size Uses

func (m *Time) XXX_Size() int

func (*Time) XXX_Unmarshal Uses

func (m *Time) XXX_Unmarshal(b []byte) error

type UnimplementedChillerServer Uses

type UnimplementedChillerServer struct {
}

UnimplementedChillerServer can be embedded to have forward compatible implementations.

func (*UnimplementedChillerServer) Chill Uses

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

Package test_proto imports 7 packages (graph). Updated 2019-04-21. Refresh now. Tools for package owners.