Documentation ¶
Index ¶
- Variables
- func RegisterGDPRServer(s grpc.ServiceRegistrar, srv GDPRServer)
- type DataDeletionRequest
- func (*DataDeletionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DataDeletionRequest) GetNamespace() string
- func (x *DataDeletionRequest) GetUserId() string
- func (*DataDeletionRequest) ProtoMessage()
- func (x *DataDeletionRequest) ProtoReflect() protoreflect.Message
- func (x *DataDeletionRequest) Reset()
- func (x *DataDeletionRequest) String() string
- type DataDeletionResponse
- func (*DataDeletionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataDeletionResponse) GetMessage() string
- func (x *DataDeletionResponse) GetSuccess() bool
- func (*DataDeletionResponse) ProtoMessage()
- func (x *DataDeletionResponse) ProtoReflect() protoreflect.Message
- func (x *DataDeletionResponse) Reset()
- func (x *DataDeletionResponse) String() string
- type DataGenerationRequest
- func (*DataGenerationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DataGenerationRequest) GetNamespace() string
- func (x *DataGenerationRequest) GetUploadUrl() string
- func (x *DataGenerationRequest) GetUserId() string
- func (*DataGenerationRequest) ProtoMessage()
- func (x *DataGenerationRequest) ProtoReflect() protoreflect.Message
- func (x *DataGenerationRequest) Reset()
- func (x *DataGenerationRequest) String() string
- type DataGenerationResponse
- func (*DataGenerationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DataGenerationResponse) GetMessage() string
- func (x *DataGenerationResponse) GetSuccess() bool
- func (*DataGenerationResponse) ProtoMessage()
- func (x *DataGenerationResponse) ProtoReflect() protoreflect.Message
- func (x *DataGenerationResponse) Reset()
- func (x *DataGenerationResponse) String() string
- type GDPRClient
- type GDPRServer
- type UnimplementedGDPRServer
- type UnsafeGDPRServer
Constants ¶
This section is empty.
Variables ¶
var File_gdpr_proto protoreflect.FileDescriptor
var GDPR_ServiceDesc = grpc.ServiceDesc{ ServiceName: "accelbyte.gdpr.registered.v1.GDPR", HandlerType: (*GDPRServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DataGeneration", Handler: _GDPR_DataGeneration_Handler, }, { MethodName: "DataDeletion", Handler: _GDPR_DataDeletion_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "gdpr.proto", }
GDPR_ServiceDesc is the grpc.ServiceDesc for GDPR service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGDPRServer ¶
func RegisterGDPRServer(s grpc.ServiceRegistrar, srv GDPRServer)
Types ¶
type DataDeletionRequest ¶
type DataDeletionRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // namespace of user UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // user id // contains filtered or unexported fields }
func (*DataDeletionRequest) Descriptor
deprecated
func (*DataDeletionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DataDeletionRequest.ProtoReflect.Descriptor instead.
func (*DataDeletionRequest) GetNamespace ¶
func (x *DataDeletionRequest) GetNamespace() string
func (*DataDeletionRequest) GetUserId ¶
func (x *DataDeletionRequest) GetUserId() string
func (*DataDeletionRequest) ProtoMessage ¶
func (*DataDeletionRequest) ProtoMessage()
func (*DataDeletionRequest) ProtoReflect ¶
func (x *DataDeletionRequest) ProtoReflect() protoreflect.Message
func (*DataDeletionRequest) Reset ¶
func (x *DataDeletionRequest) Reset()
func (*DataDeletionRequest) String ¶
func (x *DataDeletionRequest) String() string
type DataDeletionResponse ¶
type DataDeletionResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // indicate data deletion was success Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // message from data deletion process // contains filtered or unexported fields }
func (*DataDeletionResponse) Descriptor
deprecated
func (*DataDeletionResponse) Descriptor() ([]byte, []int)
Deprecated: Use DataDeletionResponse.ProtoReflect.Descriptor instead.
func (*DataDeletionResponse) GetMessage ¶
func (x *DataDeletionResponse) GetMessage() string
func (*DataDeletionResponse) GetSuccess ¶
func (x *DataDeletionResponse) GetSuccess() bool
func (*DataDeletionResponse) ProtoMessage ¶
func (*DataDeletionResponse) ProtoMessage()
func (*DataDeletionResponse) ProtoReflect ¶
func (x *DataDeletionResponse) ProtoReflect() protoreflect.Message
func (*DataDeletionResponse) Reset ¶
func (x *DataDeletionResponse) Reset()
func (*DataDeletionResponse) String ¶
func (x *DataDeletionResponse) String() string
type DataGenerationRequest ¶
type DataGenerationRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // namespace of user UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"` // user id UploadUrl string `protobuf:"bytes,3,opt,name=uploadUrl,proto3" json:"uploadUrl,omitempty"` // upload url that used to upload the generated file into GDPR Service storage // contains filtered or unexported fields }
func (*DataGenerationRequest) Descriptor
deprecated
func (*DataGenerationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DataGenerationRequest.ProtoReflect.Descriptor instead.
func (*DataGenerationRequest) GetNamespace ¶
func (x *DataGenerationRequest) GetNamespace() string
func (*DataGenerationRequest) GetUploadUrl ¶
func (x *DataGenerationRequest) GetUploadUrl() string
func (*DataGenerationRequest) GetUserId ¶
func (x *DataGenerationRequest) GetUserId() string
func (*DataGenerationRequest) ProtoMessage ¶
func (*DataGenerationRequest) ProtoMessage()
func (*DataGenerationRequest) ProtoReflect ¶
func (x *DataGenerationRequest) ProtoReflect() protoreflect.Message
func (*DataGenerationRequest) Reset ¶
func (x *DataGenerationRequest) Reset()
func (*DataGenerationRequest) String ¶
func (x *DataGenerationRequest) String() string
type DataGenerationResponse ¶
type DataGenerationResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // indicate data generation was success Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // message from data generation process // contains filtered or unexported fields }
func (*DataGenerationResponse) Descriptor
deprecated
func (*DataGenerationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DataGenerationResponse.ProtoReflect.Descriptor instead.
func (*DataGenerationResponse) GetMessage ¶
func (x *DataGenerationResponse) GetMessage() string
func (*DataGenerationResponse) GetSuccess ¶
func (x *DataGenerationResponse) GetSuccess() bool
func (*DataGenerationResponse) ProtoMessage ¶
func (*DataGenerationResponse) ProtoMessage()
func (*DataGenerationResponse) ProtoReflect ¶
func (x *DataGenerationResponse) ProtoReflect() protoreflect.Message
func (*DataGenerationResponse) Reset ¶
func (x *DataGenerationResponse) Reset()
func (*DataGenerationResponse) String ¶
func (x *DataGenerationResponse) String() string
type GDPRClient ¶
type GDPRClient interface { // * // Data Generation. // The generated data will be uploaded into GDPR Service storage. DataGeneration(ctx context.Context, in *DataGenerationRequest, opts ...grpc.CallOption) (*DataGenerationResponse, error) // * // Data Deletion. DataDeletion(ctx context.Context, in *DataDeletionRequest, opts ...grpc.CallOption) (*DataDeletionResponse, error) }
GDPRClient is the client API for GDPR service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGDPRClient ¶
func NewGDPRClient(cc grpc.ClientConnInterface) GDPRClient
type GDPRServer ¶
type GDPRServer interface { // * // Data Generation. // The generated data will be uploaded into GDPR Service storage. DataGeneration(context.Context, *DataGenerationRequest) (*DataGenerationResponse, error) // * // Data Deletion. DataDeletion(context.Context, *DataDeletionRequest) (*DataDeletionResponse, error) // contains filtered or unexported methods }
GDPRServer is the server API for GDPR service. All implementations must embed UnimplementedGDPRServer for forward compatibility
type UnimplementedGDPRServer ¶
type UnimplementedGDPRServer struct { }
UnimplementedGDPRServer must be embedded to have forward compatible implementations.
func (UnimplementedGDPRServer) DataDeletion ¶
func (UnimplementedGDPRServer) DataDeletion(context.Context, *DataDeletionRequest) (*DataDeletionResponse, error)
func (UnimplementedGDPRServer) DataGeneration ¶
func (UnimplementedGDPRServer) DataGeneration(context.Context, *DataGenerationRequest) (*DataGenerationResponse, error)
type UnsafeGDPRServer ¶
type UnsafeGDPRServer interface {
// contains filtered or unexported methods
}
UnsafeGDPRServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GDPRServer will result in compilation errors.