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

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

func (*NonceMessage) Descriptor Uses

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

func (*NonceMessage) GetNonce Uses

func (m *NonceMessage) GetNonce() string

func (*NonceMessage) ProtoMessage Uses

func (*NonceMessage) ProtoMessage()

func (*NonceMessage) Reset Uses

func (m *NonceMessage) Reset()

func (*NonceMessage) String Uses

func (m *NonceMessage) String() string

func (*NonceMessage) XXX_DiscardUnknown Uses

func (m *NonceMessage) XXX_DiscardUnknown()

func (*NonceMessage) XXX_Marshal Uses

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

func (*NonceMessage) XXX_Merge Uses

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

func (*NonceMessage) XXX_Size Uses

func (m *NonceMessage) XXX_Size() int

func (*NonceMessage) XXX_Unmarshal Uses

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

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.ClientConn) 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(ctx context.Context, req *proto1.Empty) (*NonceMessage, error)

func (*UnimplementedNonceServiceServer) Redeem Uses

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

type ValidMessage Uses

type ValidMessage struct {
    Valid                bool     `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ValidMessage) Descriptor Uses

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

func (*ValidMessage) GetValid Uses

func (m *ValidMessage) GetValid() bool

func (*ValidMessage) ProtoMessage Uses

func (*ValidMessage) ProtoMessage()

func (*ValidMessage) Reset Uses

func (m *ValidMessage) Reset()

func (*ValidMessage) String Uses

func (m *ValidMessage) String() string

func (*ValidMessage) XXX_DiscardUnknown Uses

func (m *ValidMessage) XXX_DiscardUnknown()

func (*ValidMessage) XXX_Marshal Uses

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

func (*ValidMessage) XXX_Merge Uses

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

func (*ValidMessage) XXX_Size Uses

func (m *ValidMessage) XXX_Size() int

func (*ValidMessage) XXX_Unmarshal Uses

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

Package proto imports 8 packages (graph) and is imported by 24 packages. Updated 2019-07-11. Refresh now. Tools for package owners.