Documentation ¶
Overview ¶
Package user is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AddRageUserServiceServer(cb fluffy_dozm_di.ContainerBuilder, ctor any)
- func AddRageUserServiceServerWithExternalRegistration(cb fluffy_dozm_di.ContainerBuilder, ctor any, ...)
- func RegisterRageUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRageUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RageUserServiceClient) error
- func RegisterRageUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRageUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RageUserServiceServer) error
- func RegisterRageUserServiceServer(s grpc.ServiceRegistrar, srv RageUserServiceServer)
- type CreateRageUserRequest
- func (*CreateRageUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRageUserRequest) GetUser() *models.RageUser
- func (*CreateRageUserRequest) ProtoMessage()
- func (x *CreateRageUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRageUserRequest) Reset()
- func (x *CreateRageUserRequest) String() string
- type CreateRageUserResponse
- func (*CreateRageUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRageUserResponse) GetUser() *models.RageUser
- func (*CreateRageUserResponse) ProtoMessage()
- func (x *CreateRageUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRageUserResponse) Reset()
- func (x *CreateRageUserResponse) String() string
- type GetRageUserRequest
- func (*GetRageUserRequest) Descriptor() ([]byte, []int)deprecated
- func (m *GetRageUserRequest) GetBy() isGetRageUserRequest_By
- func (x *GetRageUserRequest) GetEmail() string
- func (x *GetRageUserRequest) GetExternalIdentity() *models.Identity
- func (x *GetRageUserRequest) GetSubject() string
- func (*GetRageUserRequest) ProtoMessage()
- func (x *GetRageUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetRageUserRequest) Reset()
- func (x *GetRageUserRequest) String() string
- type GetRageUserRequest_Email
- type GetRageUserRequest_ExternalIdentity
- type GetRageUserRequest_Subject
- type GetRageUserResponse
- func (*GetRageUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRageUserResponse) GetUser() *models.RageUser
- func (*GetRageUserResponse) ProtoMessage()
- func (x *GetRageUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetRageUserResponse) Reset()
- func (x *GetRageUserResponse) String() string
- type IFluffyCoreRageUserServiceServer
- type LinkRageUserRequest
- func (*LinkRageUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRageUserRequest) GetExternalIdentity() *models.Identity
- func (x *LinkRageUserRequest) GetRootSubject() string
- func (*LinkRageUserRequest) ProtoMessage()
- func (x *LinkRageUserRequest) ProtoReflect() protoreflect.Message
- func (x *LinkRageUserRequest) Reset()
- func (x *LinkRageUserRequest) String() string
- type LinkRageUserResponse
- func (*LinkRageUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinkRageUserResponse) GetUser() *models.RageUser
- func (*LinkRageUserResponse) ProtoMessage()
- func (x *LinkRageUserResponse) ProtoReflect() protoreflect.Message
- func (x *LinkRageUserResponse) Reset()
- func (x *LinkRageUserResponse) String() string
- type ListRageUsersRequest
- func (*ListRageUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRageUsersRequest) GetFilter() *models.RageUserFilter
- func (x *ListRageUsersRequest) GetPagination() *types.Pagination
- func (*ListRageUsersRequest) ProtoMessage()
- func (x *ListRageUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListRageUsersRequest) Reset()
- func (x *ListRageUsersRequest) String() string
- type ListRageUsersResponse
- func (*ListRageUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRageUsersResponse) GetPagination() *types.PaginationResponse
- func (x *ListRageUsersResponse) GetUsers() []*models.RageUser
- func (*ListRageUsersResponse) ProtoMessage()
- func (x *ListRageUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListRageUsersResponse) Reset()
- func (x *ListRageUsersResponse) String() string
- type RageUserServiceClient
- type RageUserServiceFluffyCoreServer
- func (s *RageUserServiceFluffyCoreServer) CreateRageUser(ctx context.Context, request *CreateRageUserRequest) (*CreateRageUserResponse, error)
- func (s *RageUserServiceFluffyCoreServer) GetRageUser(ctx context.Context, request *GetRageUserRequest) (*GetRageUserResponse, error)
- func (s *RageUserServiceFluffyCoreServer) LinkRageUser(ctx context.Context, request *LinkRageUserRequest) (*LinkRageUserResponse, error)
- func (srv *RageUserServiceFluffyCoreServer) RegisterFluffyCoreGRPCService(s *grpc.Server)
- func (s *RageUserServiceFluffyCoreServer) UnlinkRageUser(ctx context.Context, request *UnlinkRageUserRequest) (*UnlinkRageUserResponse, error)
- func (s *RageUserServiceFluffyCoreServer) UpdateRageUser(ctx context.Context, request *UpdateRageUserRequest) (*UpdateRageUserResponse, error)
- type RageUserServiceServer
- type UnimplementedFluffyCoreRageUserServiceServerEndpointRegistration
- type UnimplementedRageUserServiceServer
- func (UnimplementedRageUserServiceServer) CreateRageUser(context.Context, *CreateRageUserRequest) (*CreateRageUserResponse, error)
- func (UnimplementedRageUserServiceServer) GetRageUser(context.Context, *GetRageUserRequest) (*GetRageUserResponse, error)
- func (UnimplementedRageUserServiceServer) LinkRageUser(context.Context, *LinkRageUserRequest) (*LinkRageUserResponse, error)
- func (UnimplementedRageUserServiceServer) UnlinkRageUser(context.Context, *UnlinkRageUserRequest) (*UnlinkRageUserResponse, error)
- func (UnimplementedRageUserServiceServer) UpdateRageUser(context.Context, *UpdateRageUserRequest) (*UpdateRageUserResponse, error)
- type UnlinkRageUserRequest
- func (*UnlinkRageUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkRageUserRequest) GetExternalIdentity() *models.Identity
- func (x *UnlinkRageUserRequest) GetRootSubject() string
- func (*UnlinkRageUserRequest) ProtoMessage()
- func (x *UnlinkRageUserRequest) ProtoReflect() protoreflect.Message
- func (x *UnlinkRageUserRequest) Reset()
- func (x *UnlinkRageUserRequest) String() string
- type UnlinkRageUserResponse
- func (*UnlinkRageUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkRageUserResponse) GetUser() *models.RageUser
- func (*UnlinkRageUserResponse) ProtoMessage()
- func (x *UnlinkRageUserResponse) ProtoReflect() protoreflect.Message
- func (x *UnlinkRageUserResponse) Reset()
- func (x *UnlinkRageUserResponse) String() string
- type UnsafeRageUserServiceServer
- type UpdateRageUserRequest
- func (*UpdateRageUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRageUserRequest) GetUser() *models.RageUserUpdate
- func (*UpdateRageUserRequest) ProtoMessage()
- func (x *UpdateRageUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRageUserRequest) Reset()
- func (x *UpdateRageUserRequest) String() string
- type UpdateRageUserResponse
- func (*UpdateRageUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRageUserResponse) GetUser() *models.RageUser
- func (*UpdateRageUserResponse) ProtoMessage()
- func (x *UpdateRageUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRageUserResponse) Reset()
- func (x *UpdateRageUserResponse) String() string
Constants ¶
const ( RageUserService_CreateRageUser_FullMethodName = "/proto.oidc.user.RageUserService/CreateRageUser" RageUserService_GetRageUser_FullMethodName = "/proto.oidc.user.RageUserService/GetRageUser" RageUserService_UpdateRageUser_FullMethodName = "/proto.oidc.user.RageUserService/UpdateRageUser" RageUserService_LinkRageUser_FullMethodName = "/proto.oidc.user.RageUserService/LinkRageUser" RageUserService_UnlinkRageUser_FullMethodName = "/proto.oidc.user.RageUserService/UnlinkRageUser" )
Variables ¶
var File_proto_oidc_user_user_proto protoreflect.FileDescriptor
var RageUserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.oidc.user.RageUserService", HandlerType: (*RageUserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRageUser", Handler: _RageUserService_CreateRageUser_Handler, }, { MethodName: "GetRageUser", Handler: _RageUserService_GetRageUser_Handler, }, { MethodName: "UpdateRageUser", Handler: _RageUserService_UpdateRageUser_Handler, }, { MethodName: "LinkRageUser", Handler: _RageUserService_LinkRageUser_Handler, }, { MethodName: "UnlinkRageUser", Handler: _RageUserService_UnlinkRageUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/oidc/user/user.proto", }
RageUserService_ServiceDesc is the grpc.ServiceDesc for RageUserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func AddRageUserServiceServer ¶ added in v1.0.1
func AddRageUserServiceServer(cb fluffy_dozm_di.ContainerBuilder, ctor any)
AddRageUserServiceServer adds the fluffycore aware grpc server
func AddRageUserServiceServerWithExternalRegistration ¶ added in v1.0.1
func AddRageUserServiceServerWithExternalRegistration(cb fluffy_dozm_di.ContainerBuilder, ctor any, register func() endpoint.IEndpointRegistration)
AddRageUserServiceServerWithExternalRegistration adds the fluffycore aware grpc server and external registration service. Mainly used for grpc-gateway
func RegisterRageUserServiceHandler ¶ added in v1.0.1
func RegisterRageUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRageUserServiceHandler registers the http handlers for service RageUserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRageUserServiceHandlerClient ¶ added in v1.0.1
func RegisterRageUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RageUserServiceClient) error
RegisterRageUserServiceHandlerClient registers the http handlers for service RageUserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RageUserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RageUserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RageUserServiceClient" to call the correct interceptors.
func RegisterRageUserServiceHandlerFromEndpoint ¶ added in v1.0.1
func RegisterRageUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRageUserServiceHandlerFromEndpoint is same as RegisterRageUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRageUserServiceHandlerServer ¶ added in v1.0.1
func RegisterRageUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RageUserServiceServer) error
RegisterRageUserServiceHandlerServer registers the http handlers for service RageUserService to "mux". UnaryRPC :call RageUserServiceServer 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 RegisterRageUserServiceHandlerFromEndpoint instead.
func RegisterRageUserServiceServer ¶ added in v1.0.1
func RegisterRageUserServiceServer(s grpc.ServiceRegistrar, srv RageUserServiceServer)
Types ¶
type CreateRageUserRequest ¶ added in v1.0.1
type CreateRageUserRequest struct { User *models.RageUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateRageUserRequest) Descriptor
deprecated
added in
v1.0.1
func (*CreateRageUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRageUserRequest.ProtoReflect.Descriptor instead.
func (*CreateRageUserRequest) GetUser ¶ added in v1.0.1
func (x *CreateRageUserRequest) GetUser() *models.RageUser
func (*CreateRageUserRequest) ProtoMessage ¶ added in v1.0.1
func (*CreateRageUserRequest) ProtoMessage()
func (*CreateRageUserRequest) ProtoReflect ¶ added in v1.0.1
func (x *CreateRageUserRequest) ProtoReflect() protoreflect.Message
func (*CreateRageUserRequest) Reset ¶ added in v1.0.1
func (x *CreateRageUserRequest) Reset()
func (*CreateRageUserRequest) String ¶ added in v1.0.1
func (x *CreateRageUserRequest) String() string
type CreateRageUserResponse ¶ added in v1.0.1
type CreateRageUserResponse struct { User *models.RageUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateRageUserResponse) Descriptor
deprecated
added in
v1.0.1
func (*CreateRageUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRageUserResponse.ProtoReflect.Descriptor instead.
func (*CreateRageUserResponse) GetUser ¶ added in v1.0.1
func (x *CreateRageUserResponse) GetUser() *models.RageUser
func (*CreateRageUserResponse) ProtoMessage ¶ added in v1.0.1
func (*CreateRageUserResponse) ProtoMessage()
func (*CreateRageUserResponse) ProtoReflect ¶ added in v1.0.1
func (x *CreateRageUserResponse) ProtoReflect() protoreflect.Message
func (*CreateRageUserResponse) Reset ¶ added in v1.0.1
func (x *CreateRageUserResponse) Reset()
func (*CreateRageUserResponse) String ¶ added in v1.0.1
func (x *CreateRageUserResponse) String() string
type GetRageUserRequest ¶ added in v1.0.1
type GetRageUserRequest struct { // Types that are assignable to By: // // *GetRageUserRequest_Subject // *GetRageUserRequest_Email // *GetRageUserRequest_ExternalIdentity By isGetRageUserRequest_By `protobuf_oneof:"by"` // contains filtered or unexported fields }
func (*GetRageUserRequest) Descriptor
deprecated
added in
v1.0.1
func (*GetRageUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRageUserRequest.ProtoReflect.Descriptor instead.
func (*GetRageUserRequest) GetBy ¶ added in v1.0.1
func (m *GetRageUserRequest) GetBy() isGetRageUserRequest_By
func (*GetRageUserRequest) GetEmail ¶ added in v1.0.1
func (x *GetRageUserRequest) GetEmail() string
func (*GetRageUserRequest) GetExternalIdentity ¶ added in v1.0.1
func (x *GetRageUserRequest) GetExternalIdentity() *models.Identity
func (*GetRageUserRequest) GetSubject ¶ added in v1.0.1
func (x *GetRageUserRequest) GetSubject() string
func (*GetRageUserRequest) ProtoMessage ¶ added in v1.0.1
func (*GetRageUserRequest) ProtoMessage()
func (*GetRageUserRequest) ProtoReflect ¶ added in v1.0.1
func (x *GetRageUserRequest) ProtoReflect() protoreflect.Message
func (*GetRageUserRequest) Reset ¶ added in v1.0.1
func (x *GetRageUserRequest) Reset()
func (*GetRageUserRequest) String ¶ added in v1.0.1
func (x *GetRageUserRequest) String() string
type GetRageUserRequest_Email ¶ added in v1.0.1
type GetRageUserRequest_Email struct {
Email string `protobuf:"bytes,2,opt,name=email,proto3,oneof"`
}
type GetRageUserRequest_ExternalIdentity ¶ added in v1.0.1
type GetRageUserRequest_Subject ¶ added in v1.0.1
type GetRageUserRequest_Subject struct {
Subject string `protobuf:"bytes,1,opt,name=subject,proto3,oneof"`
}
type GetRageUserResponse ¶ added in v1.0.1
type GetRageUserResponse struct { User *models.RageUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetRageUserResponse) Descriptor
deprecated
added in
v1.0.1
func (*GetRageUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRageUserResponse.ProtoReflect.Descriptor instead.
func (*GetRageUserResponse) GetUser ¶ added in v1.0.1
func (x *GetRageUserResponse) GetUser() *models.RageUser
func (*GetRageUserResponse) ProtoMessage ¶ added in v1.0.1
func (*GetRageUserResponse) ProtoMessage()
func (*GetRageUserResponse) ProtoReflect ¶ added in v1.0.1
func (x *GetRageUserResponse) ProtoReflect() protoreflect.Message
func (*GetRageUserResponse) Reset ¶ added in v1.0.1
func (x *GetRageUserResponse) Reset()
func (*GetRageUserResponse) String ¶ added in v1.0.1
func (x *GetRageUserResponse) String() string
type IFluffyCoreRageUserServiceServer ¶ added in v1.0.1
type IFluffyCoreRageUserServiceServer interface { RageUserServiceServer }
IFluffyCoreRageUserServiceServer defines the grpc server
type LinkRageUserRequest ¶ added in v1.0.1
type LinkRageUserRequest 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 (*LinkRageUserRequest) Descriptor
deprecated
added in
v1.0.1
func (*LinkRageUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkRageUserRequest.ProtoReflect.Descriptor instead.
func (*LinkRageUserRequest) GetExternalIdentity ¶ added in v1.0.1
func (x *LinkRageUserRequest) GetExternalIdentity() *models.Identity
func (*LinkRageUserRequest) GetRootSubject ¶ added in v1.0.1
func (x *LinkRageUserRequest) GetRootSubject() string
func (*LinkRageUserRequest) ProtoMessage ¶ added in v1.0.1
func (*LinkRageUserRequest) ProtoMessage()
func (*LinkRageUserRequest) ProtoReflect ¶ added in v1.0.1
func (x *LinkRageUserRequest) ProtoReflect() protoreflect.Message
func (*LinkRageUserRequest) Reset ¶ added in v1.0.1
func (x *LinkRageUserRequest) Reset()
func (*LinkRageUserRequest) String ¶ added in v1.0.1
func (x *LinkRageUserRequest) String() string
type LinkRageUserResponse ¶ added in v1.0.1
type LinkRageUserResponse struct { User *models.RageUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*LinkRageUserResponse) Descriptor
deprecated
added in
v1.0.1
func (*LinkRageUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinkRageUserResponse.ProtoReflect.Descriptor instead.
func (*LinkRageUserResponse) GetUser ¶ added in v1.0.1
func (x *LinkRageUserResponse) GetUser() *models.RageUser
func (*LinkRageUserResponse) ProtoMessage ¶ added in v1.0.1
func (*LinkRageUserResponse) ProtoMessage()
func (*LinkRageUserResponse) ProtoReflect ¶ added in v1.0.1
func (x *LinkRageUserResponse) ProtoReflect() protoreflect.Message
func (*LinkRageUserResponse) Reset ¶ added in v1.0.1
func (x *LinkRageUserResponse) Reset()
func (*LinkRageUserResponse) String ¶ added in v1.0.1
func (x *LinkRageUserResponse) String() string
type ListRageUsersRequest ¶ added in v1.0.1
type ListRageUsersRequest struct { // Filter Filter *models.RageUserFilter `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 (*ListRageUsersRequest) Descriptor
deprecated
added in
v1.0.1
func (*ListRageUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRageUsersRequest.ProtoReflect.Descriptor instead.
func (*ListRageUsersRequest) GetFilter ¶ added in v1.0.1
func (x *ListRageUsersRequest) GetFilter() *models.RageUserFilter
func (*ListRageUsersRequest) GetPagination ¶ added in v1.0.1
func (x *ListRageUsersRequest) GetPagination() *types.Pagination
func (*ListRageUsersRequest) ProtoMessage ¶ added in v1.0.1
func (*ListRageUsersRequest) ProtoMessage()
func (*ListRageUsersRequest) ProtoReflect ¶ added in v1.0.1
func (x *ListRageUsersRequest) ProtoReflect() protoreflect.Message
func (*ListRageUsersRequest) Reset ¶ added in v1.0.1
func (x *ListRageUsersRequest) Reset()
func (*ListRageUsersRequest) String ¶ added in v1.0.1
func (x *ListRageUsersRequest) String() string
type ListRageUsersResponse ¶ added in v1.0.1
type ListRageUsersResponse struct { Users []*models.RageUser `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 (*ListRageUsersResponse) Descriptor
deprecated
added in
v1.0.1
func (*ListRageUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRageUsersResponse.ProtoReflect.Descriptor instead.
func (*ListRageUsersResponse) GetPagination ¶ added in v1.0.1
func (x *ListRageUsersResponse) GetPagination() *types.PaginationResponse
func (*ListRageUsersResponse) GetUsers ¶ added in v1.0.1
func (x *ListRageUsersResponse) GetUsers() []*models.RageUser
func (*ListRageUsersResponse) ProtoMessage ¶ added in v1.0.1
func (*ListRageUsersResponse) ProtoMessage()
func (*ListRageUsersResponse) ProtoReflect ¶ added in v1.0.1
func (x *ListRageUsersResponse) ProtoReflect() protoreflect.Message
func (*ListRageUsersResponse) Reset ¶ added in v1.0.1
func (x *ListRageUsersResponse) Reset()
func (*ListRageUsersResponse) String ¶ added in v1.0.1
func (x *ListRageUsersResponse) String() string
type RageUserServiceClient ¶ added in v1.0.1
type RageUserServiceClient interface { // Create user CreateRageUser(ctx context.Context, in *CreateRageUserRequest, opts ...grpc.CallOption) (*CreateRageUserResponse, error) // Get user GetRageUser(ctx context.Context, in *GetRageUserRequest, opts ...grpc.CallOption) (*GetRageUserResponse, error) // Update user UpdateRageUser(ctx context.Context, in *UpdateRageUserRequest, opts ...grpc.CallOption) (*UpdateRageUserResponse, error) LinkRageUser(ctx context.Context, in *LinkRageUserRequest, opts ...grpc.CallOption) (*LinkRageUserResponse, error) UnlinkRageUser(ctx context.Context, in *UnlinkRageUserRequest, opts ...grpc.CallOption) (*UnlinkRageUserResponse, error) }
RageUserServiceClient is the client API for RageUserService 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 NewRageUserServiceClient ¶ added in v1.0.1
func NewRageUserServiceClient(cc grpc.ClientConnInterface) RageUserServiceClient
type RageUserServiceFluffyCoreServer ¶ added in v1.0.1
type RageUserServiceFluffyCoreServer struct { UnimplementedRageUserServiceServer UnimplementedFluffyCoreRageUserServiceServerEndpointRegistration }
RageUserServiceFluffyCoreServer defines the grpc server truct
func (*RageUserServiceFluffyCoreServer) CreateRageUser ¶ added in v1.0.1
func (s *RageUserServiceFluffyCoreServer) CreateRageUser(ctx context.Context, request *CreateRageUserRequest) (*CreateRageUserResponse, error)
CreateRageUser...
func (*RageUserServiceFluffyCoreServer) GetRageUser ¶ added in v1.0.1
func (s *RageUserServiceFluffyCoreServer) GetRageUser(ctx context.Context, request *GetRageUserRequest) (*GetRageUserResponse, error)
GetRageUser...
func (*RageUserServiceFluffyCoreServer) LinkRageUser ¶ added in v1.0.1
func (s *RageUserServiceFluffyCoreServer) LinkRageUser(ctx context.Context, request *LinkRageUserRequest) (*LinkRageUserResponse, error)
LinkRageUser...
func (*RageUserServiceFluffyCoreServer) RegisterFluffyCoreGRPCService ¶ added in v1.0.1
func (srv *RageUserServiceFluffyCoreServer) RegisterFluffyCoreGRPCService(s *grpc.Server)
RegisterFluffyCoreGRPCService the server with grpc
func (*RageUserServiceFluffyCoreServer) UnlinkRageUser ¶ added in v1.0.1
func (s *RageUserServiceFluffyCoreServer) UnlinkRageUser(ctx context.Context, request *UnlinkRageUserRequest) (*UnlinkRageUserResponse, error)
UnlinkRageUser...
func (*RageUserServiceFluffyCoreServer) UpdateRageUser ¶ added in v1.0.1
func (s *RageUserServiceFluffyCoreServer) UpdateRageUser(ctx context.Context, request *UpdateRageUserRequest) (*UpdateRageUserResponse, error)
UpdateRageUser...
type RageUserServiceServer ¶ added in v1.0.1
type RageUserServiceServer interface { // Create user CreateRageUser(context.Context, *CreateRageUserRequest) (*CreateRageUserResponse, error) // Get user GetRageUser(context.Context, *GetRageUserRequest) (*GetRageUserResponse, error) // Update user UpdateRageUser(context.Context, *UpdateRageUserRequest) (*UpdateRageUserResponse, error) LinkRageUser(context.Context, *LinkRageUserRequest) (*LinkRageUserResponse, error) UnlinkRageUser(context.Context, *UnlinkRageUserRequest) (*UnlinkRageUserResponse, error) // contains filtered or unexported methods }
RageUserServiceServer is the server API for RageUserService service. All implementations must embed UnimplementedRageUserServiceServer for forward compatibility
type UnimplementedFluffyCoreRageUserServiceServerEndpointRegistration ¶ added in v1.0.1
type UnimplementedFluffyCoreRageUserServiceServerEndpointRegistration struct { }
func (UnimplementedFluffyCoreRageUserServiceServerEndpointRegistration) RegisterFluffyCoreHandler ¶ added in v1.0.1
func (UnimplementedFluffyCoreRageUserServiceServerEndpointRegistration) RegisterFluffyCoreHandler(gwmux *runtime.ServeMux, conn *grpc.ClientConn)
type UnimplementedRageUserServiceServer ¶ added in v1.0.1
type UnimplementedRageUserServiceServer struct { }
UnimplementedRageUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedRageUserServiceServer) CreateRageUser ¶ added in v1.0.1
func (UnimplementedRageUserServiceServer) CreateRageUser(context.Context, *CreateRageUserRequest) (*CreateRageUserResponse, error)
func (UnimplementedRageUserServiceServer) GetRageUser ¶ added in v1.0.1
func (UnimplementedRageUserServiceServer) GetRageUser(context.Context, *GetRageUserRequest) (*GetRageUserResponse, error)
func (UnimplementedRageUserServiceServer) LinkRageUser ¶ added in v1.0.1
func (UnimplementedRageUserServiceServer) LinkRageUser(context.Context, *LinkRageUserRequest) (*LinkRageUserResponse, error)
func (UnimplementedRageUserServiceServer) UnlinkRageUser ¶ added in v1.0.1
func (UnimplementedRageUserServiceServer) UnlinkRageUser(context.Context, *UnlinkRageUserRequest) (*UnlinkRageUserResponse, error)
func (UnimplementedRageUserServiceServer) UpdateRageUser ¶ added in v1.0.1
func (UnimplementedRageUserServiceServer) UpdateRageUser(context.Context, *UpdateRageUserRequest) (*UpdateRageUserResponse, error)
type UnlinkRageUserRequest ¶ added in v1.0.1
type UnlinkRageUserRequest 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 (*UnlinkRageUserRequest) Descriptor
deprecated
added in
v1.0.1
func (*UnlinkRageUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkRageUserRequest.ProtoReflect.Descriptor instead.
func (*UnlinkRageUserRequest) GetExternalIdentity ¶ added in v1.0.1
func (x *UnlinkRageUserRequest) GetExternalIdentity() *models.Identity
func (*UnlinkRageUserRequest) GetRootSubject ¶ added in v1.0.1
func (x *UnlinkRageUserRequest) GetRootSubject() string
func (*UnlinkRageUserRequest) ProtoMessage ¶ added in v1.0.1
func (*UnlinkRageUserRequest) ProtoMessage()
func (*UnlinkRageUserRequest) ProtoReflect ¶ added in v1.0.1
func (x *UnlinkRageUserRequest) ProtoReflect() protoreflect.Message
func (*UnlinkRageUserRequest) Reset ¶ added in v1.0.1
func (x *UnlinkRageUserRequest) Reset()
func (*UnlinkRageUserRequest) String ¶ added in v1.0.1
func (x *UnlinkRageUserRequest) String() string
type UnlinkRageUserResponse ¶ added in v1.0.1
type UnlinkRageUserResponse struct { User *models.RageUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UnlinkRageUserResponse) Descriptor
deprecated
added in
v1.0.1
func (*UnlinkRageUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkRageUserResponse.ProtoReflect.Descriptor instead.
func (*UnlinkRageUserResponse) GetUser ¶ added in v1.0.1
func (x *UnlinkRageUserResponse) GetUser() *models.RageUser
func (*UnlinkRageUserResponse) ProtoMessage ¶ added in v1.0.1
func (*UnlinkRageUserResponse) ProtoMessage()
func (*UnlinkRageUserResponse) ProtoReflect ¶ added in v1.0.1
func (x *UnlinkRageUserResponse) ProtoReflect() protoreflect.Message
func (*UnlinkRageUserResponse) Reset ¶ added in v1.0.1
func (x *UnlinkRageUserResponse) Reset()
func (*UnlinkRageUserResponse) String ¶ added in v1.0.1
func (x *UnlinkRageUserResponse) String() string
type UnsafeRageUserServiceServer ¶ added in v1.0.1
type UnsafeRageUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRageUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RageUserServiceServer will result in compilation errors.
type UpdateRageUserRequest ¶ added in v1.0.1
type UpdateRageUserRequest struct { User *models.RageUserUpdate `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateRageUserRequest) Descriptor
deprecated
added in
v1.0.1
func (*UpdateRageUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRageUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateRageUserRequest) GetUser ¶ added in v1.0.1
func (x *UpdateRageUserRequest) GetUser() *models.RageUserUpdate
func (*UpdateRageUserRequest) ProtoMessage ¶ added in v1.0.1
func (*UpdateRageUserRequest) ProtoMessage()
func (*UpdateRageUserRequest) ProtoReflect ¶ added in v1.0.1
func (x *UpdateRageUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateRageUserRequest) Reset ¶ added in v1.0.1
func (x *UpdateRageUserRequest) Reset()
func (*UpdateRageUserRequest) String ¶ added in v1.0.1
func (x *UpdateRageUserRequest) String() string
type UpdateRageUserResponse ¶ added in v1.0.1
type UpdateRageUserResponse struct { User *models.RageUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateRageUserResponse) Descriptor
deprecated
added in
v1.0.1
func (*UpdateRageUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRageUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateRageUserResponse) GetUser ¶ added in v1.0.1
func (x *UpdateRageUserResponse) GetUser() *models.RageUser
func (*UpdateRageUserResponse) ProtoMessage ¶ added in v1.0.1
func (*UpdateRageUserResponse) ProtoMessage()
func (*UpdateRageUserResponse) ProtoReflect ¶ added in v1.0.1
func (x *UpdateRageUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateRageUserResponse) Reset ¶ added in v1.0.1
func (x *UpdateRageUserResponse) Reset()
func (*UpdateRageUserResponse) String ¶ added in v1.0.1
func (x *UpdateRageUserResponse) String() string