Back to godoc.org
github.com/letsencrypt/boulder/nonce/proto

package proto

v0.0.0 (71df093)
Latest Go to latest
Published: 1 day ago | License: MPL-2.0 | Module: github.com/letsencrypt/boulder

Index

Variables

var File_nonce_proto_nonce_proto protoreflect.FileDescriptor

func RegisterNonceServiceServer

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

type NonceMessage

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

func (*NonceMessage) Descriptor

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

Deprecated: Use NonceMessage.ProtoReflect.Descriptor instead.

func (*NonceMessage) GetNonce

func (x *NonceMessage) GetNonce() string

func (*NonceMessage) ProtoMessage

func (*NonceMessage) ProtoMessage()

func (*NonceMessage) ProtoReflect

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

func (*NonceMessage) Reset

func (x *NonceMessage) Reset()

func (*NonceMessage) String

func (x *NonceMessage) String() string

type NonceServiceClient

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.

type NonceServiceServer

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

type UnimplementedNonceServiceServer struct {
}

UnimplementedNonceServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedNonceServiceServer) Nonce

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

func (*UnimplementedNonceServiceServer) Redeem

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

type ValidMessage

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

func (*ValidMessage) Descriptor

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

Deprecated: Use ValidMessage.ProtoReflect.Descriptor instead.

func (*ValidMessage) GetValid

func (x *ValidMessage) GetValid() bool

func (*ValidMessage) ProtoMessage

func (*ValidMessage) ProtoMessage()

func (*ValidMessage) ProtoReflect

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

func (*ValidMessage) Reset

func (x *ValidMessage) Reset()

func (*ValidMessage) String

func (x *ValidMessage) String() string
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier