boulder: github.com/letsencrypt/boulder/nonce/proto Index | Files

package proto

import "github.com/letsencrypt/boulder/nonce/proto"

Index

Package Files

generate.go nonce.pb.go

Variables

var File_nonce_proto_nonce_proto protoreflect.FileDescriptor

func RegisterNonceServiceServer Uses

func RegisterNonceServiceServer(s *grpc.Server, srv NonceServiceServer)

type NonceMessage Uses

type NonceMessage struct {
    Nonce string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
    // contains filtered or unexported fields
}

func (*NonceMessage) Descriptor Uses

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

Deprecated: Use NonceMessage.ProtoReflect.Descriptor instead.

func (*NonceMessage) GetNonce Uses

func (x *NonceMessage) GetNonce() string

func (*NonceMessage) ProtoMessage Uses

func (*NonceMessage) ProtoMessage()

func (*NonceMessage) ProtoReflect Uses

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

func (*NonceMessage) Reset Uses

func (x *NonceMessage) Reset()

func (*NonceMessage) String Uses

func (x *NonceMessage) String() string

type NonceServiceClient Uses

type NonceServiceClient interface {
    Nonce(ctx context.Context, in *proto1.Empty, opts ...grpc.CallOption) (*NonceMessage, error)
    Redeem(ctx context.Context, in *NonceMessage, opts ...grpc.CallOption) (*ValidMessage, error)
}

NonceServiceClient is the client API for NonceService service.

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

func NewNonceServiceClient Uses

func NewNonceServiceClient(cc grpc.ClientConnInterface) NonceServiceClient

type NonceServiceServer Uses

type NonceServiceServer interface {
    Nonce(context.Context, *proto1.Empty) (*NonceMessage, error)
    Redeem(context.Context, *NonceMessage) (*ValidMessage, error)
}

NonceServiceServer is the server API for NonceService service.

type UnimplementedNonceServiceServer Uses

type UnimplementedNonceServiceServer struct {
}

UnimplementedNonceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNonceServiceServer) Nonce Uses

func (*UnimplementedNonceServiceServer) Nonce(context.Context, *proto1.Empty) (*NonceMessage, error)

func (*UnimplementedNonceServiceServer) Redeem Uses

func (*UnimplementedNonceServiceServer) Redeem(context.Context, *NonceMessage) (*ValidMessage, error)

type ValidMessage Uses

type ValidMessage struct {
    Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
    // contains filtered or unexported fields
}

func (*ValidMessage) Descriptor Uses

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

Deprecated: Use ValidMessage.ProtoReflect.Descriptor instead.

func (*ValidMessage) GetValid Uses

func (x *ValidMessage) GetValid() bool

func (*ValidMessage) ProtoMessage Uses

func (*ValidMessage) ProtoMessage()

func (*ValidMessage) ProtoReflect Uses

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

func (*ValidMessage) Reset Uses

func (x *ValidMessage) Reset()

func (*ValidMessage) String Uses

func (x *ValidMessage) String() string

Package proto imports 10 packages (graph) and is imported by 24 packages. Updated 2020-06-03. Refresh now. Tools for package owners.