keyserviceproto

package
v2.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_keyservice_keyserviceproto_keyservice_proto protoreflect.FileDescriptor

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type APIClient

type APIClient interface {
	GetDataKey(ctx context.Context, in *GetDataKeyRequest, opts ...grpc.CallOption) (*GetDataKeyResponse, error)
}

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIClient

func NewAPIClient(cc grpc.ClientConnInterface) APIClient

type APIServer

type APIServer interface {
	GetDataKey(context.Context, *GetDataKeyRequest) (*GetDataKeyResponse, error)
}

APIServer is the server API for API service.

type GetDataKeyRequest

type GetDataKeyRequest struct {
	DataKeyId string `protobuf:"bytes,1,opt,name=data_key_id,json=dataKeyId,proto3" json:"data_key_id,omitempty"`
	Length    uint32 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDataKeyRequest) Descriptor deprecated

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

Deprecated: Use GetDataKeyRequest.ProtoReflect.Descriptor instead.

func (*GetDataKeyRequest) GetDataKeyId

func (x *GetDataKeyRequest) GetDataKeyId() string

func (*GetDataKeyRequest) GetLength

func (x *GetDataKeyRequest) GetLength() uint32

func (*GetDataKeyRequest) ProtoMessage

func (*GetDataKeyRequest) ProtoMessage()

func (*GetDataKeyRequest) ProtoReflect

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

func (*GetDataKeyRequest) Reset

func (x *GetDataKeyRequest) Reset()

func (*GetDataKeyRequest) String

func (x *GetDataKeyRequest) String() string

type GetDataKeyResponse

type GetDataKeyResponse struct {
	DataKey []byte `protobuf:"bytes,1,opt,name=data_key,json=dataKey,proto3" json:"data_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDataKeyResponse) Descriptor deprecated

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

Deprecated: Use GetDataKeyResponse.ProtoReflect.Descriptor instead.

func (*GetDataKeyResponse) GetDataKey

func (x *GetDataKeyResponse) GetDataKey() []byte

func (*GetDataKeyResponse) ProtoMessage

func (*GetDataKeyResponse) ProtoMessage()

func (*GetDataKeyResponse) ProtoReflect

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

func (*GetDataKeyResponse) Reset

func (x *GetDataKeyResponse) Reset()

func (*GetDataKeyResponse) String

func (x *GetDataKeyResponse) String() string

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) GetDataKey

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL