import "github.com/letsencrypt/boulder/nonce/proto"
var File_nonce_proto_nonce_proto protoreflect.FileDescriptor
func RegisterNonceServiceServer(s *grpc.Server, srv NonceServiceServer)
type NonceMessage struct { Nonce string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
func (*NonceMessage) Descriptor() ([]byte, []int)
Deprecated: Use NonceMessage.ProtoReflect.Descriptor instead.
func (x *NonceMessage) GetNonce() string
func (*NonceMessage) ProtoMessage()
func (x *NonceMessage) ProtoReflect() protoreflect.Message
func (x *NonceMessage) Reset()
func (x *NonceMessage) String() string
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(cc grpc.ClientConnInterface) NonceServiceClient
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 struct { }
UnimplementedNonceServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNonceServiceServer) Nonce(context.Context, *proto1.Empty) (*NonceMessage, error)
func (*UnimplementedNonceServiceServer) Redeem(context.Context, *NonceMessage) (*ValidMessage, error)
type ValidMessage struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*ValidMessage) Descriptor() ([]byte, []int)
Deprecated: Use ValidMessage.ProtoReflect.Descriptor instead.
func (x *ValidMessage) GetValid() bool
func (*ValidMessage) ProtoMessage()
func (x *ValidMessage) ProtoReflect() protoreflect.Message
func (x *ValidMessage) Reset()
func (x *ValidMessage) String() string
Package proto imports 10 packages (graph) and is imported by 30 packages. Updated 2020-09-21. Refresh now. Tools for package owners.