profile

package
v0.0.0-...-47bb31f Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_user_v1_profile_profile_proto protoreflect.FileDescriptor
View Source
var Profile_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.user.v1.profile.Profile",
	HandlerType: (*ProfileServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateProfile",
			Handler:    _Profile_UpdateProfile_Handler,
		},
		{
			MethodName: "DeleteProfile",
			Handler:    _Profile_DeleteProfile_Handler,
		},
		{
			MethodName: "GetProfile",
			Handler:    _Profile_GetProfile_Handler,
		},
		{
			MethodName: "ListProfile",
			Handler:    _Profile_ListProfile_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/user/v1/profile/profile.proto",
}

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

Functions

func NewProfileHandler

func NewProfileHandler(srv ProfileHandler, opts ...http1.HandleOption) http.Handler

func RegisterProfileServer

func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)

Types

type CreateProfileReply

type CreateProfileReply struct {
	// contains filtered or unexported fields
}

func (*CreateProfileReply) Descriptor deprecated

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

Deprecated: Use CreateProfileReply.ProtoReflect.Descriptor instead.

func (*CreateProfileReply) ProtoMessage

func (*CreateProfileReply) ProtoMessage()

func (*CreateProfileReply) ProtoReflect

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

func (*CreateProfileReply) Reset

func (x *CreateProfileReply) Reset()

func (*CreateProfileReply) String

func (x *CreateProfileReply) String() string

type CreateProfileRequest

type CreateProfileRequest struct {
	// contains filtered or unexported fields
}

func (*CreateProfileRequest) Descriptor deprecated

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

Deprecated: Use CreateProfileRequest.ProtoReflect.Descriptor instead.

func (*CreateProfileRequest) ProtoMessage

func (*CreateProfileRequest) ProtoMessage()

func (*CreateProfileRequest) ProtoReflect

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

func (*CreateProfileRequest) Reset

func (x *CreateProfileRequest) Reset()

func (*CreateProfileRequest) String

func (x *CreateProfileRequest) String() string

type DeleteProfileReply

type DeleteProfileReply struct {
	// contains filtered or unexported fields
}

func (*DeleteProfileReply) Descriptor deprecated

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

Deprecated: Use DeleteProfileReply.ProtoReflect.Descriptor instead.

func (*DeleteProfileReply) ProtoMessage

func (*DeleteProfileReply) ProtoMessage()

func (*DeleteProfileReply) ProtoReflect

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

func (*DeleteProfileReply) Reset

func (x *DeleteProfileReply) Reset()

func (*DeleteProfileReply) String

func (x *DeleteProfileReply) String() string

type DeleteProfileRequest

type DeleteProfileRequest struct {
	// contains filtered or unexported fields
}

func (*DeleteProfileRequest) Descriptor deprecated

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

Deprecated: Use DeleteProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteProfileRequest) ProtoMessage

func (*DeleteProfileRequest) ProtoMessage()

func (*DeleteProfileRequest) ProtoReflect

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

func (*DeleteProfileRequest) Reset

func (x *DeleteProfileRequest) Reset()

func (*DeleteProfileRequest) String

func (x *DeleteProfileRequest) String() string

type GetProfileReply

type GetProfileReply struct {
	// contains filtered or unexported fields
}

func (*GetProfileReply) Descriptor deprecated

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

Deprecated: Use GetProfileReply.ProtoReflect.Descriptor instead.

func (*GetProfileReply) ProtoMessage

func (*GetProfileReply) ProtoMessage()

func (*GetProfileReply) ProtoReflect

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

func (*GetProfileReply) Reset

func (x *GetProfileReply) Reset()

func (*GetProfileReply) String

func (x *GetProfileReply) String() string

type GetProfileRequest

type GetProfileRequest struct {
	// contains filtered or unexported fields
}

func (*GetProfileRequest) Descriptor deprecated

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

Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.

func (*GetProfileRequest) ProtoMessage

func (*GetProfileRequest) ProtoMessage()

func (*GetProfileRequest) ProtoReflect

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

func (*GetProfileRequest) Reset

func (x *GetProfileRequest) Reset()

func (*GetProfileRequest) String

func (x *GetProfileRequest) String() string

type ListProfileReply

type ListProfileReply struct {
	// contains filtered or unexported fields
}

func (*ListProfileReply) Descriptor deprecated

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

Deprecated: Use ListProfileReply.ProtoReflect.Descriptor instead.

func (*ListProfileReply) ProtoMessage

func (*ListProfileReply) ProtoMessage()

func (*ListProfileReply) ProtoReflect

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

func (*ListProfileReply) Reset

func (x *ListProfileReply) Reset()

func (*ListProfileReply) String

func (x *ListProfileReply) String() string

type ListProfileRequest

type ListProfileRequest struct {
	// contains filtered or unexported fields
}

func (*ListProfileRequest) Descriptor deprecated

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

Deprecated: Use ListProfileRequest.ProtoReflect.Descriptor instead.

func (*ListProfileRequest) ProtoMessage

func (*ListProfileRequest) ProtoMessage()

func (*ListProfileRequest) ProtoReflect

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

func (*ListProfileRequest) Reset

func (x *ListProfileRequest) Reset()

func (*ListProfileRequest) String

func (x *ListProfileRequest) String() string

type ProfileClient

type ProfileClient interface {
	UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileReply, error)
	DeleteProfile(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*DeleteProfileReply, error)
	GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileReply, error)
	ListProfile(ctx context.Context, in *ListProfileRequest, opts ...grpc.CallOption) (*ListProfileReply, error)
}

ProfileClient is the client API for Profile 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 NewProfileClient

func NewProfileClient(cc grpc.ClientConnInterface) ProfileClient

type ProfileServer

type ProfileServer interface {
	UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileReply, error)
	DeleteProfile(context.Context, *DeleteProfileRequest) (*DeleteProfileReply, error)
	GetProfile(context.Context, *GetProfileRequest) (*GetProfileReply, error)
	ListProfile(context.Context, *ListProfileRequest) (*ListProfileReply, error)
	// contains filtered or unexported methods
}

ProfileServer is the server API for Profile service. All implementations must embed UnimplementedProfileServer for forward compatibility

type UnimplementedProfileServer

type UnimplementedProfileServer struct {
}

UnimplementedProfileServer must be embedded to have forward compatible implementations.

func (UnimplementedProfileServer) DeleteProfile

func (UnimplementedProfileServer) GetProfile

func (UnimplementedProfileServer) ListProfile

func (UnimplementedProfileServer) UpdateProfile

type UnsafeProfileServer

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

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

type UpdateProfileReply

type UpdateProfileReply struct {
	// contains filtered or unexported fields
}

func (*UpdateProfileReply) Descriptor deprecated

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

Deprecated: Use UpdateProfileReply.ProtoReflect.Descriptor instead.

func (*UpdateProfileReply) ProtoMessage

func (*UpdateProfileReply) ProtoMessage()

func (*UpdateProfileReply) ProtoReflect

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

func (*UpdateProfileReply) Reset

func (x *UpdateProfileReply) Reset()

func (*UpdateProfileReply) String

func (x *UpdateProfileReply) String() string

type UpdateProfileRequest

type UpdateProfileRequest struct {
	// contains filtered or unexported fields
}

func (*UpdateProfileRequest) Descriptor deprecated

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

Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.

func (*UpdateProfileRequest) ProtoMessage

func (*UpdateProfileRequest) ProtoMessage()

func (*UpdateProfileRequest) ProtoReflect

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

func (*UpdateProfileRequest) Reset

func (x *UpdateProfileRequest) Reset()

func (*UpdateProfileRequest) String

func (x *UpdateProfileRequest) String() string

Jump to

Keyboard shortcuts

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