Documentation ¶
Index ¶
- func RegisterKeyGenServer(s *grpc.Server, srv KeyGenServer)
- type AllocateKeysRequest
- func (*AllocateKeysRequest) Descriptor() ([]byte, []int)
- func (m *AllocateKeysRequest) GetMaxKeyCount() uint32
- func (*AllocateKeysRequest) ProtoMessage()
- func (m *AllocateKeysRequest) Reset()
- func (m *AllocateKeysRequest) String() string
- func (m *AllocateKeysRequest) XXX_DiscardUnknown()
- func (m *AllocateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocateKeysRequest) XXX_Merge(src proto.Message)
- func (m *AllocateKeysRequest) XXX_Size() int
- func (m *AllocateKeysRequest) XXX_Unmarshal(b []byte) error
- type AllocateKeysResponse
- func (*AllocateKeysResponse) Descriptor() ([]byte, []int)
- func (m *AllocateKeysResponse) GetKeys() []string
- func (*AllocateKeysResponse) ProtoMessage()
- func (m *AllocateKeysResponse) Reset()
- func (m *AllocateKeysResponse) String() string
- func (m *AllocateKeysResponse) XXX_DiscardUnknown()
- func (m *AllocateKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocateKeysResponse) XXX_Merge(src proto.Message)
- func (m *AllocateKeysResponse) XXX_Size() int
- func (m *AllocateKeysResponse) XXX_Unmarshal(b []byte) error
- type KeyGenClient
- type KeyGenServer
- type PopulateKeysRequest
- func (*PopulateKeysRequest) Descriptor() ([]byte, []int)
- func (m *PopulateKeysRequest) GetKeyLength() uint32
- func (m *PopulateKeysRequest) GetRequesterEmail() string
- func (*PopulateKeysRequest) ProtoMessage()
- func (m *PopulateKeysRequest) Reset()
- func (m *PopulateKeysRequest) String() string
- func (m *PopulateKeysRequest) XXX_DiscardUnknown()
- func (m *PopulateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PopulateKeysRequest) XXX_Merge(src proto.Message)
- func (m *PopulateKeysRequest) XXX_Size() int
- func (m *PopulateKeysRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedKeyGenServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterKeyGenServer ¶
func RegisterKeyGenServer(s *grpc.Server, srv KeyGenServer)
Types ¶
type AllocateKeysRequest ¶
type AllocateKeysRequest struct { MaxKeyCount uint32 `protobuf:"varint,1,opt,name=max_key_count,json=maxKeyCount,proto3" json:"max_key_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateKeysRequest) Descriptor ¶
func (*AllocateKeysRequest) Descriptor() ([]byte, []int)
func (*AllocateKeysRequest) GetMaxKeyCount ¶
func (m *AllocateKeysRequest) GetMaxKeyCount() uint32
func (*AllocateKeysRequest) ProtoMessage ¶
func (*AllocateKeysRequest) ProtoMessage()
func (*AllocateKeysRequest) Reset ¶
func (m *AllocateKeysRequest) Reset()
func (*AllocateKeysRequest) String ¶
func (m *AllocateKeysRequest) String() string
func (*AllocateKeysRequest) XXX_DiscardUnknown ¶
func (m *AllocateKeysRequest) XXX_DiscardUnknown()
func (*AllocateKeysRequest) XXX_Marshal ¶
func (m *AllocateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateKeysRequest) XXX_Merge ¶
func (m *AllocateKeysRequest) XXX_Merge(src proto.Message)
func (*AllocateKeysRequest) XXX_Size ¶
func (m *AllocateKeysRequest) XXX_Size() int
func (*AllocateKeysRequest) XXX_Unmarshal ¶
func (m *AllocateKeysRequest) XXX_Unmarshal(b []byte) error
type AllocateKeysResponse ¶
type AllocateKeysResponse struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateKeysResponse) Descriptor ¶
func (*AllocateKeysResponse) Descriptor() ([]byte, []int)
func (*AllocateKeysResponse) GetKeys ¶
func (m *AllocateKeysResponse) GetKeys() []string
func (*AllocateKeysResponse) ProtoMessage ¶
func (*AllocateKeysResponse) ProtoMessage()
func (*AllocateKeysResponse) Reset ¶
func (m *AllocateKeysResponse) Reset()
func (*AllocateKeysResponse) String ¶
func (m *AllocateKeysResponse) String() string
func (*AllocateKeysResponse) XXX_DiscardUnknown ¶
func (m *AllocateKeysResponse) XXX_DiscardUnknown()
func (*AllocateKeysResponse) XXX_Marshal ¶
func (m *AllocateKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateKeysResponse) XXX_Merge ¶
func (m *AllocateKeysResponse) XXX_Merge(src proto.Message)
func (*AllocateKeysResponse) XXX_Size ¶
func (m *AllocateKeysResponse) XXX_Size() int
func (*AllocateKeysResponse) XXX_Unmarshal ¶
func (m *AllocateKeysResponse) XXX_Unmarshal(b []byte) error
type KeyGenClient ¶
type KeyGenClient interface { PopulateKeys(ctx context.Context, in *PopulateKeysRequest, opts ...grpc.CallOption) (*empty.Empty, error) AllocateKeys(ctx context.Context, in *AllocateKeysRequest, opts ...grpc.CallOption) (*AllocateKeysResponse, error) }
KeyGenClient is the client API for KeyGen service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKeyGenClient ¶
func NewKeyGenClient(cc *grpc.ClientConn) KeyGenClient
type KeyGenServer ¶
type KeyGenServer interface { PopulateKeys(context.Context, *PopulateKeysRequest) (*empty.Empty, error) AllocateKeys(context.Context, *AllocateKeysRequest) (*AllocateKeysResponse, error) }
KeyGenServer is the server API for KeyGen service.
type PopulateKeysRequest ¶
type PopulateKeysRequest struct { KeyLength uint32 `protobuf:"varint,1,opt,name=key_length,json=keyLength,proto3" json:"key_length,omitempty"` RequesterEmail string `protobuf:"bytes,2,opt,name=requester_email,json=requesterEmail,proto3" json:"requester_email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PopulateKeysRequest) Descriptor ¶
func (*PopulateKeysRequest) Descriptor() ([]byte, []int)
func (*PopulateKeysRequest) GetKeyLength ¶
func (m *PopulateKeysRequest) GetKeyLength() uint32
func (*PopulateKeysRequest) GetRequesterEmail ¶
func (m *PopulateKeysRequest) GetRequesterEmail() string
func (*PopulateKeysRequest) ProtoMessage ¶
func (*PopulateKeysRequest) ProtoMessage()
func (*PopulateKeysRequest) Reset ¶
func (m *PopulateKeysRequest) Reset()
func (*PopulateKeysRequest) String ¶
func (m *PopulateKeysRequest) String() string
func (*PopulateKeysRequest) XXX_DiscardUnknown ¶
func (m *PopulateKeysRequest) XXX_DiscardUnknown()
func (*PopulateKeysRequest) XXX_Marshal ¶
func (m *PopulateKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PopulateKeysRequest) XXX_Merge ¶
func (m *PopulateKeysRequest) XXX_Merge(src proto.Message)
func (*PopulateKeysRequest) XXX_Size ¶
func (m *PopulateKeysRequest) XXX_Size() int
func (*PopulateKeysRequest) XXX_Unmarshal ¶
func (m *PopulateKeysRequest) XXX_Unmarshal(b []byte) error
type UnimplementedKeyGenServer ¶
type UnimplementedKeyGenServer struct { }
UnimplementedKeyGenServer can be embedded to have forward compatible implementations.
func (*UnimplementedKeyGenServer) AllocateKeys ¶
func (*UnimplementedKeyGenServer) AllocateKeys(ctx context.Context, req *AllocateKeysRequest) (*AllocateKeysResponse, error)
func (*UnimplementedKeyGenServer) PopulateKeys ¶
func (*UnimplementedKeyGenServer) PopulateKeys(ctx context.Context, req *PopulateKeysRequest) (*empty.Empty, error)
Click to show internal directories.
Click to hide internal directories.