proto

package
v0.0.0-...-d9f2812 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AnonymizeService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "AnonymizeService",
	HandlerType: (*AnonymizeServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getAnonymizedID",
			Handler:    _AnonymizeService_GetAnonymizedID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "anonymize.proto",
}

AnonymizeService_ServiceDesc is the grpc.ServiceDesc for AnonymizeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_anonymize_proto protoreflect.FileDescriptor

Functions

func RegisterAnonymizeServiceServer

func RegisterAnonymizeServiceServer(s grpc.ServiceRegistrar, srv AnonymizeServiceServer)

Types

type AnonymizeServiceClient

type AnonymizeServiceClient interface {
	GetAnonymizedID(ctx context.Context, in *SendNickname, opts ...grpc.CallOption) (*ReceiveID, error)
}

AnonymizeServiceClient is the client API for AnonymizeService 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.

type AnonymizeServiceServer

type AnonymizeServiceServer interface {
	GetAnonymizedID(context.Context, *SendNickname) (*ReceiveID, error)
	// contains filtered or unexported methods
}

AnonymizeServiceServer is the server API for AnonymizeService service. All implementations must embed UnimplementedAnonymizeServiceServer for forward compatibility

type ReceiveID

type ReceiveID struct {
	AnonymizedID string `protobuf:"bytes,1,opt,name=anonymizedID,proto3" json:"anonymizedID,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiveID) Descriptor deprecated

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

Deprecated: Use ReceiveID.ProtoReflect.Descriptor instead.

func (*ReceiveID) GetAnonymizedID

func (x *ReceiveID) GetAnonymizedID() string

func (*ReceiveID) ProtoMessage

func (*ReceiveID) ProtoMessage()

func (*ReceiveID) ProtoReflect

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

func (*ReceiveID) Reset

func (x *ReceiveID) Reset()

func (*ReceiveID) String

func (x *ReceiveID) String() string

type SendNickname

type SendNickname struct {
	Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// contains filtered or unexported fields
}

func (*SendNickname) Descriptor deprecated

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

Deprecated: Use SendNickname.ProtoReflect.Descriptor instead.

func (*SendNickname) GetNickname

func (x *SendNickname) GetNickname() string

func (*SendNickname) ProtoMessage

func (*SendNickname) ProtoMessage()

func (*SendNickname) ProtoReflect

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

func (*SendNickname) Reset

func (x *SendNickname) Reset()

func (*SendNickname) String

func (x *SendNickname) String() string

type UnimplementedAnonymizeServiceServer

type UnimplementedAnonymizeServiceServer struct {
}

UnimplementedAnonymizeServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAnonymizeServiceServer) GetAnonymizedID

type UnsafeAnonymizeServiceServer

type UnsafeAnonymizeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAnonymizeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnonymizeServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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