Documentation ¶
Index ¶
- func RegisterServiceServer(s *grpc.Server, srv ServiceServer)
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type KeyDelete
- func (*KeyDelete) Descriptor() ([]byte, []int)
- func (m *KeyDelete) GetName() string
- func (*KeyDelete) ProtoMessage()
- func (m *KeyDelete) Reset()
- func (m *KeyDelete) String() string
- func (m *KeyDelete) XXX_DiscardUnknown()
- func (m *KeyDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyDelete) XXX_Merge(src proto.Message)
- func (m *KeyDelete) XXX_Size() int
- func (m *KeyDelete) XXX_Unmarshal(b []byte) error
- type KeyGet
- func (*KeyGet) Descriptor() ([]byte, []int)
- func (m *KeyGet) GetName() string
- func (*KeyGet) ProtoMessage()
- func (m *KeyGet) Reset()
- func (m *KeyGet) String() string
- func (m *KeyGet) XXX_DiscardUnknown()
- func (m *KeyGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyGet) XXX_Merge(src proto.Message)
- func (m *KeyGet) XXX_Size() int
- func (m *KeyGet) XXX_Unmarshal(b []byte) error
- type KeyList
- func (*KeyList) Descriptor() ([]byte, []int)
- func (m *KeyList) GetLimit() int64
- func (*KeyList) ProtoMessage()
- func (m *KeyList) Reset()
- func (m *KeyList) String() string
- func (m *KeyList) XXX_DiscardUnknown()
- func (m *KeyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyList) XXX_Merge(src proto.Message)
- func (m *KeyList) XXX_Size() int
- func (m *KeyList) XXX_Unmarshal(b []byte) error
- type KeyPut
- func (*KeyPut) Descriptor() ([]byte, []int)
- func (m *KeyPut) GetName() string
- func (m *KeyPut) GetPrivateKey() []byte
- func (*KeyPut) ProtoMessage()
- func (m *KeyPut) Reset()
- func (m *KeyPut) String() string
- func (m *KeyPut) XXX_DiscardUnknown()
- func (m *KeyPut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyPut) XXX_Merge(src proto.Message)
- func (m *KeyPut) XXX_Size() int
- func (m *KeyPut) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetKeyIDs() []string
- func (m *Response) GetPrivateKey() []byte
- func (m *Response) GetStatus() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ServiceClient
- type ServiceServer
- type UnimplementedServiceServer
- func (*UnimplementedServiceServer) DeletePrivateKey(ctx context.Context, req *KeyDelete) (*Response, error)
- func (*UnimplementedServiceServer) GetPrivateKey(ctx context.Context, req *KeyGet) (*Response, error)
- func (*UnimplementedServiceServer) HasPrivateKey(ctx context.Context, req *KeyGet) (*Response, error)
- func (*UnimplementedServiceServer) ListPrivateKeys(ctx context.Context, req *KeyList) (*Response, error)
- func (*UnimplementedServiceServer) PutPrivateKey(ctx context.Context, req *KeyPut) (*Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterServiceServer ¶
func RegisterServiceServer(s *grpc.Server, srv ServiceServer)
Types ¶
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type KeyDelete ¶
type KeyDelete struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyDelete) Descriptor ¶
func (*KeyDelete) ProtoMessage ¶
func (*KeyDelete) ProtoMessage()
func (*KeyDelete) XXX_DiscardUnknown ¶
func (m *KeyDelete) XXX_DiscardUnknown()
func (*KeyDelete) XXX_Marshal ¶
func (*KeyDelete) XXX_Unmarshal ¶
type KeyGet ¶
type KeyGet struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyGet) Descriptor ¶
func (*KeyGet) ProtoMessage ¶
func (*KeyGet) ProtoMessage()
func (*KeyGet) XXX_DiscardUnknown ¶
func (m *KeyGet) XXX_DiscardUnknown()
func (*KeyGet) XXX_Marshal ¶
func (*KeyGet) XXX_Unmarshal ¶
type KeyList ¶
type KeyList struct { Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyList) Descriptor ¶
func (*KeyList) ProtoMessage ¶
func (*KeyList) ProtoMessage()
func (*KeyList) XXX_DiscardUnknown ¶
func (m *KeyList) XXX_DiscardUnknown()
func (*KeyList) XXX_Marshal ¶
func (*KeyList) XXX_Unmarshal ¶
type KeyPut ¶
type KeyPut struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KeyPut) Descriptor ¶
func (*KeyPut) GetPrivateKey ¶
func (*KeyPut) ProtoMessage ¶
func (*KeyPut) ProtoMessage()
func (*KeyPut) XXX_DiscardUnknown ¶
func (m *KeyPut) XXX_DiscardUnknown()
func (*KeyPut) XXX_Marshal ¶
func (*KeyPut) XXX_Unmarshal ¶
type Response ¶
type Response struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` PrivateKey []byte `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` KeyIDs []string `protobuf:"bytes,3,rep,name=keyIDs,proto3" json:"keyIDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetPrivateKey ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type ServiceClient ¶
type ServiceClient interface { HasPrivateKey(ctx context.Context, in *KeyGet, opts ...grpc.CallOption) (*Response, error) GetPrivateKey(ctx context.Context, in *KeyGet, opts ...grpc.CallOption) (*Response, error) PutPrivateKey(ctx context.Context, in *KeyPut, opts ...grpc.CallOption) (*Response, error) DeletePrivateKey(ctx context.Context, in *KeyDelete, opts ...grpc.CallOption) (*Response, error) ListPrivateKeys(ctx context.Context, in *KeyList, opts ...grpc.CallOption) (*Response, error) }
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc *grpc.ClientConn) ServiceClient
type ServiceServer ¶
type ServiceServer interface { HasPrivateKey(context.Context, *KeyGet) (*Response, error) GetPrivateKey(context.Context, *KeyGet) (*Response, error) PutPrivateKey(context.Context, *KeyPut) (*Response, error) DeletePrivateKey(context.Context, *KeyDelete) (*Response, error) ListPrivateKeys(context.Context, *KeyList) (*Response, error) }
ServiceServer is the server API for Service service.
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedServiceServer) DeletePrivateKey ¶
func (*UnimplementedServiceServer) GetPrivateKey ¶
func (*UnimplementedServiceServer) HasPrivateKey ¶
func (*UnimplementedServiceServer) ListPrivateKeys ¶
func (*UnimplementedServiceServer) PutPrivateKey ¶
Click to show internal directories.
Click to hide internal directories.