user

package
v1.0.1-herb-namespaced... Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package user is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	UserService_CreateUser_FullMethodName  = "/proto.oidc.user.UserService/CreateUser"
	UserService_GetUser_FullMethodName     = "/proto.oidc.user.UserService/GetUser"
	UserService_DeleteUser_FullMethodName  = "/proto.oidc.user.UserService/DeleteUser"
	UserService_UpdateUser_FullMethodName  = "/proto.oidc.user.UserService/UpdateUser"
	UserService_ListUser_FullMethodName    = "/proto.oidc.user.UserService/ListUser"
	UserService_LinkUsers_FullMethodName   = "/proto.oidc.user.UserService/LinkUsers"
	UserService_UnlinkUsers_FullMethodName = "/proto.oidc.user.UserService/UnlinkUsers"
)

Variables

View Source
var File_proto_oidc_user_user_proto protoreflect.FileDescriptor
View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "proto.oidc.user.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateUser",
			Handler:    _UserService_CreateUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _UserService_GetUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _UserService_DeleteUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _UserService_UpdateUser_Handler,
		},
		{
			MethodName: "ListUser",
			Handler:    _UserService_ListUser_Handler,
		},
		{
			MethodName: "LinkUsers",
			Handler:    _UserService_LinkUsers_Handler,
		},
		{
			MethodName: "UnlinkUsers",
			Handler:    _UserService_UnlinkUsers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/oidc/user/user.proto",
}

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

Functions

func AddUserServiceServer

func AddUserServiceServer(cb fluffy_dozm_di.ContainerBuilder, ctor any)

AddUserServiceServer adds the fluffycore aware grpc server

func AddUserServiceServerWithExternalRegistration

func AddUserServiceServerWithExternalRegistration(cb fluffy_dozm_di.ContainerBuilder, ctor any, register func() endpoint.IEndpointRegistration)

AddUserServiceServerWithExternalRegistration adds the fluffycore aware grpc server and external registration service. Mainly used for grpc-gateway

func RegisterUserServiceHandler

func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUserServiceHandlerClient

func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error

RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.

func RegisterUserServiceHandlerFromEndpoint

func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUserServiceHandlerServer

func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error

RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead.

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type CreateUserRequest

type CreateUserRequest struct {
	User *models.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetUser

func (x *CreateUserRequest) GetUser() *models.User

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	User *models.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

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

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser

func (x *CreateUserResponse) GetUser() *models.User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

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

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type DeleteUserRequest

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

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetSubject

func (x *DeleteUserRequest) GetSubject() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

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

func (*DeleteUserResponse) Descriptor deprecated

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

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

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

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type Filter

type Filter struct {
	RootIdentity   *IdentityFilter                   `protobuf:"bytes,1,opt,name=root_identity,json=rootIdentity,proto3" json:"root_identity,omitempty"`
	LinkedIdentity *IdentityFilter                   `protobuf:"bytes,2,opt,name=linked_identity,json=linkedIdentity,proto3" json:"linked_identity,omitempty"`
	State          *models.UserStateFilterExpression `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// AST
	And []*Filter `protobuf:"bytes,100,rep,name=and,proto3" json:"and,omitempty"`
	Or  []*Filter `protobuf:"bytes,101,rep,name=or,proto3" json:"or,omitempty"`
	Not []*Filter `protobuf:"bytes,102,rep,name=not,proto3" json:"not,omitempty"`
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetAnd

func (x *Filter) GetAnd() []*Filter

func (*Filter) GetLinkedIdentity

func (x *Filter) GetLinkedIdentity() *IdentityFilter

func (*Filter) GetNot

func (x *Filter) GetNot() []*Filter

func (*Filter) GetOr

func (x *Filter) GetOr() []*Filter

func (*Filter) GetRootIdentity

func (x *Filter) GetRootIdentity() *IdentityFilter

func (*Filter) GetState

func (x *Filter) GetState() *models.UserStateFilterExpression

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type GetUserRequest

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

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetSubject

func (x *GetUserRequest) GetSubject() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserResponse

type GetUserResponse struct {
	User *models.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetUser

func (x *GetUserResponse) GetUser() *models.User

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type IFluffyCoreUserServiceServer

type IFluffyCoreUserServiceServer interface {
	UserServiceServer
}

IFluffyCoreUserServiceServer defines the grpc server

type IdentityFilter

type IdentityFilter struct {
	Subject *types.IDFilterExpression     `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	IdpSlug *types.IDFilterExpression     `protobuf:"bytes,2,opt,name=idp_slug,json=idpSlug,proto3" json:"idp_slug,omitempty"`
	Email   *types.StringFilterExpression `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityFilter) Descriptor deprecated

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

Deprecated: Use IdentityFilter.ProtoReflect.Descriptor instead.

func (*IdentityFilter) GetEmail

func (*IdentityFilter) GetIdpSlug

func (x *IdentityFilter) GetIdpSlug() *types.IDFilterExpression

func (*IdentityFilter) GetSubject

func (x *IdentityFilter) GetSubject() *types.IDFilterExpression

func (*IdentityFilter) ProtoMessage

func (*IdentityFilter) ProtoMessage()

func (*IdentityFilter) ProtoReflect

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

func (*IdentityFilter) Reset

func (x *IdentityFilter) Reset()

func (*IdentityFilter) String

func (x *IdentityFilter) String() string

type LinkUsersRequest

type LinkUsersRequest struct {
	RootSubject      string           `protobuf:"bytes,1,opt,name=root_subject,json=rootSubject,proto3" json:"root_subject,omitempty"`
	ExternalIdentity *models.Identity `protobuf:"bytes,2,opt,name=external_identity,json=externalIdentity,proto3" json:"external_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkUsersRequest) Descriptor deprecated

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

Deprecated: Use LinkUsersRequest.ProtoReflect.Descriptor instead.

func (*LinkUsersRequest) GetExternalIdentity

func (x *LinkUsersRequest) GetExternalIdentity() *models.Identity

func (*LinkUsersRequest) GetRootSubject

func (x *LinkUsersRequest) GetRootSubject() string

func (*LinkUsersRequest) ProtoMessage

func (*LinkUsersRequest) ProtoMessage()

func (*LinkUsersRequest) ProtoReflect

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

func (*LinkUsersRequest) Reset

func (x *LinkUsersRequest) Reset()

func (*LinkUsersRequest) String

func (x *LinkUsersRequest) String() string

type LinkUsersResponse

type LinkUsersResponse struct {
	User *models.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkUsersResponse) Descriptor deprecated

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

Deprecated: Use LinkUsersResponse.ProtoReflect.Descriptor instead.

func (*LinkUsersResponse) GetUser

func (x *LinkUsersResponse) GetUser() *models.User

func (*LinkUsersResponse) ProtoMessage

func (*LinkUsersResponse) ProtoMessage()

func (*LinkUsersResponse) ProtoReflect

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

func (*LinkUsersResponse) Reset

func (x *LinkUsersResponse) Reset()

func (*LinkUsersResponse) String

func (x *LinkUsersResponse) String() string

type ListUserRequest

type ListUserRequest struct {

	// Filter
	Filter *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// Pagination
	Pagination *types.Pagination `protobuf:"bytes,100,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserRequest) Descriptor deprecated

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

Deprecated: Use ListUserRequest.ProtoReflect.Descriptor instead.

func (*ListUserRequest) GetFilter

func (x *ListUserRequest) GetFilter() *Filter

func (*ListUserRequest) GetPagination

func (x *ListUserRequest) GetPagination() *types.Pagination

func (*ListUserRequest) ProtoMessage

func (*ListUserRequest) ProtoMessage()

func (*ListUserRequest) ProtoReflect

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

func (*ListUserRequest) Reset

func (x *ListUserRequest) Reset()

func (*ListUserRequest) String

func (x *ListUserRequest) String() string

type ListUserResponse

type ListUserResponse struct {
	Users []*models.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// Pagination details
	Pagination *types.PaginationResponse `protobuf:"bytes,100,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUserResponse) Descriptor deprecated

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

Deprecated: Use ListUserResponse.ProtoReflect.Descriptor instead.

func (*ListUserResponse) GetPagination

func (x *ListUserResponse) GetPagination() *types.PaginationResponse

func (*ListUserResponse) GetUsers

func (x *ListUserResponse) GetUsers() []*models.User

func (*ListUserResponse) ProtoMessage

func (*ListUserResponse) ProtoMessage()

func (*ListUserResponse) ProtoReflect

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

func (*ListUserResponse) Reset

func (x *ListUserResponse) Reset()

func (*ListUserResponse) String

func (x *ListUserResponse) String() string

type UnimplementedFluffyCoreUserServiceServerEndpointRegistration

type UnimplementedFluffyCoreUserServiceServerEndpointRegistration struct {
}

func (UnimplementedFluffyCoreUserServiceServerEndpointRegistration) RegisterFluffyCoreHandler

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) CreateUser

func (UnimplementedUserServiceServer) DeleteUser

func (UnimplementedUserServiceServer) GetUser

func (UnimplementedUserServiceServer) LinkUsers

func (UnimplementedUserServiceServer) ListUser

func (UnimplementedUserServiceServer) UnlinkUsers

func (UnimplementedUserServiceServer) UpdateUser

type UnlinkUsersRequest

type UnlinkUsersRequest struct {
	RootSubject      string           `protobuf:"bytes,1,opt,name=root_subject,json=rootSubject,proto3" json:"root_subject,omitempty"`
	ExternalIdentity *models.Identity `protobuf:"bytes,2,opt,name=external_identity,json=externalIdentity,proto3" json:"external_identity,omitempty"`
	// contains filtered or unexported fields
}

func (*UnlinkUsersRequest) Descriptor deprecated

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

Deprecated: Use UnlinkUsersRequest.ProtoReflect.Descriptor instead.

func (*UnlinkUsersRequest) GetExternalIdentity

func (x *UnlinkUsersRequest) GetExternalIdentity() *models.Identity

func (*UnlinkUsersRequest) GetRootSubject

func (x *UnlinkUsersRequest) GetRootSubject() string

func (*UnlinkUsersRequest) ProtoMessage

func (*UnlinkUsersRequest) ProtoMessage()

func (*UnlinkUsersRequest) ProtoReflect

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

func (*UnlinkUsersRequest) Reset

func (x *UnlinkUsersRequest) Reset()

func (*UnlinkUsersRequest) String

func (x *UnlinkUsersRequest) String() string

type UnlinkUsersResponse

type UnlinkUsersResponse struct {
	User *models.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UnlinkUsersResponse) Descriptor deprecated

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

Deprecated: Use UnlinkUsersResponse.ProtoReflect.Descriptor instead.

func (*UnlinkUsersResponse) GetUser

func (x *UnlinkUsersResponse) GetUser() *models.User

func (*UnlinkUsersResponse) ProtoMessage

func (*UnlinkUsersResponse) ProtoMessage()

func (*UnlinkUsersResponse) ProtoReflect

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

func (*UnlinkUsersResponse) Reset

func (x *UnlinkUsersResponse) Reset()

func (*UnlinkUsersResponse) String

func (x *UnlinkUsersResponse) String() string

type UnsafeUserServiceServer

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

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

type UpdateUserRequest

type UpdateUserRequest struct {
	User *models.UserUpdate `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetUser

func (x *UpdateUserRequest) GetUser() *models.UserUpdate

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserResponse

type UpdateUserResponse struct {
	User *models.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserResponse) Descriptor deprecated

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

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetUser

func (x *UpdateUserResponse) GetUser() *models.User

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

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

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

type UserServiceClient

type UserServiceClient interface {
	// Create user
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	// Get user
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error)
	// Delete user
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	// Update user
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	// List users
	ListUser(ctx context.Context, in *ListUserRequest, opts ...grpc.CallOption) (*ListUserResponse, error)
	LinkUsers(ctx context.Context, in *LinkUsersRequest, opts ...grpc.CallOption) (*LinkUsersResponse, error)
	UnlinkUsers(ctx context.Context, in *UnlinkUsersRequest, opts ...grpc.CallOption) (*UnlinkUsersResponse, error)
}

UserServiceClient is the client API for UserService 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 UserServiceFluffyCoreServer

UserServiceFluffyCoreServer defines the grpc server truct

func (*UserServiceFluffyCoreServer) CreateUser

CreateUser...

func (*UserServiceFluffyCoreServer) DeleteUser

DeleteUser...

func (*UserServiceFluffyCoreServer) GetUser

GetUser...

func (*UserServiceFluffyCoreServer) LinkUsers

LinkUsers...

func (*UserServiceFluffyCoreServer) ListUser

ListUser...

func (*UserServiceFluffyCoreServer) RegisterFluffyCoreGRPCService

func (srv *UserServiceFluffyCoreServer) RegisterFluffyCoreGRPCService(s *grpc.Server)

RegisterFluffyCoreGRPCService the server with grpc

func (*UserServiceFluffyCoreServer) UnlinkUsers

UnlinkUsers...

func (*UserServiceFluffyCoreServer) UpdateUser

UpdateUser...

type UserServiceServer

type UserServiceServer interface {
	// Create user
	CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
	// Get user
	GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
	// Delete user
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	// Update user
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	// List users
	ListUser(context.Context, *ListUserRequest) (*ListUserResponse, error)
	LinkUsers(context.Context, *LinkUsersRequest) (*LinkUsersResponse, error)
	UnlinkUsers(context.Context, *UnlinkUsersRequest) (*UnlinkUsersResponse, error)
	// contains filtered or unexported methods
}

UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility

Jump to

Keyboard shortcuts

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