protobuf

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 30 Imported by: 1

Documentation

Overview

Package protobuf is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_api_rbac_proto protoreflect.FileDescriptor
View Source
var Organization_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ncs.rbns.Organization",
	HandlerType: (*OrganizationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindById",
			Handler:    _Organization_FindById_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Organization_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Organization_Delete_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Organization_Create_Handler,
		},
		{
			MethodName: "FindAll",
			Handler:    _Organization_FindAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api-rbac.proto",
}

Organization_ServiceDesc is the grpc.ServiceDesc for Organization 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 Permission_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ncs.rbns.Permission",
	HandlerType: (*PermissionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Check",
			Handler:    _Permission_Check_Handler,
		},
		{
			MethodName: "FindById",
			Handler:    _Permission_FindById_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Permission_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Permission_Delete_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Permission_Create_Handler,
		},
		{
			MethodName: "FindAll",
			Handler:    _Permission_FindAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api-rbac.proto",
}

Permission_ServiceDesc is the grpc.ServiceDesc for Permission 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 Resource_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ncs.rbns.Resource",
	HandlerType: (*ResourceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Save",
			Handler:    _Resource_Save_Handler,
		},
		{
			MethodName: "Authz",
			Handler:    _Resource_Authz_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api-rbac.proto",
}

Resource_ServiceDesc is the grpc.ServiceDesc for Resource 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 Role_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ncs.rbns.Role",
	HandlerType: (*RoleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DeletePermission",
			Handler:    _Role_DeletePermission_Handler,
		},
		{
			MethodName: "GetPermissions",
			Handler:    _Role_GetPermissions_Handler,
		},
		{
			MethodName: "AddPermissions",
			Handler:    _Role_AddPermissions_Handler,
		},
		{
			MethodName: "DeletePermissions",
			Handler:    _Role_DeletePermissions_Handler,
		},
		{
			MethodName: "FindById",
			Handler:    _Role_FindById_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Role_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Role_Delete_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Role_Create_Handler,
		},
		{
			MethodName: "FindAll",
			Handler:    _Role_FindAll_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api-rbac.proto",
}

Role_ServiceDesc is the grpc.ServiceDesc for Role 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 Swagger []byte
View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ncs.rbns.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FindByKey",
			Handler:    _User_FindByKey_Handler,
		},
		{
			MethodName: "FindByOrganizationNameAndUserKey",
			Handler:    _User_FindByOrganizationNameAndUserKey_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _User_Delete_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _User_DeleteRole_Handler,
		},
		{
			MethodName: "AddRoles",
			Handler:    _User_AddRoles_Handler,
		},
		{
			MethodName: "DeleteRoles",
			Handler:    _User_DeleteRoles_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _User_Create_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api-rbac.proto",
}

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

Functions

func RegisterOrganizationHandler

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

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

func RegisterOrganizationHandlerClient

func RegisterOrganizationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationClient) error

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

func RegisterOrganizationHandlerFromEndpoint

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

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

func RegisterOrganizationHandlerServer

func RegisterOrganizationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServer) error

RegisterOrganizationHandlerServer registers the http handlers for service Organization to "mux". UnaryRPC :call OrganizationServer 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 RegisterOrganizationHandlerFromEndpoint instead.

func RegisterOrganizationServer

func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer)

func RegisterPermissionHandler

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

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

func RegisterPermissionHandlerClient

func RegisterPermissionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionClient) error

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

func RegisterPermissionHandlerFromEndpoint

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

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

func RegisterPermissionHandlerServer

func RegisterPermissionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionServer) error

RegisterPermissionHandlerServer registers the http handlers for service Permission to "mux". UnaryRPC :call PermissionServer 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 RegisterPermissionHandlerFromEndpoint instead.

func RegisterPermissionServer

func RegisterPermissionServer(s grpc.ServiceRegistrar, srv PermissionServer)

func RegisterResourceServer

func RegisterResourceServer(s grpc.ServiceRegistrar, srv ResourceServer)

func RegisterRoleHandler

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

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

func RegisterRoleHandlerClient

func RegisterRoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleClient) error

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

func RegisterRoleHandlerFromEndpoint

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

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

func RegisterRoleHandlerServer

func RegisterRoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServer) error

RegisterRoleHandlerServer registers the http handlers for service Role to "mux". UnaryRPC :call RoleServer 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 RegisterRoleHandlerFromEndpoint instead.

func RegisterRoleServer

func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer)

func RegisterUserHandler

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

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

func RegisterUserHandlerClient

func RegisterUserHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserClient) error

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

func RegisterUserHandlerFromEndpoint

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

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

func RegisterUserHandlerServer

func RegisterUserHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServer) error

RegisterUserHandlerServer registers the http handlers for service User to "mux". UnaryRPC :call UserServer 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 RegisterUserHandlerFromEndpoint instead.

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type AuthzRequest

type AuthzRequest struct {
	Method           string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Uri              string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	OrganizationName string `protobuf:"bytes,3,opt,name=organizationName,proto3" json:"organizationName,omitempty"`
	UserKey          string `protobuf:"bytes,4,opt,name=userKey,proto3" json:"userKey,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthzRequest) Descriptor deprecated

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

Deprecated: Use AuthzRequest.ProtoReflect.Descriptor instead.

func (*AuthzRequest) GetMethod

func (x *AuthzRequest) GetMethod() string

func (*AuthzRequest) GetOrganizationName

func (x *AuthzRequest) GetOrganizationName() string

func (*AuthzRequest) GetUri

func (x *AuthzRequest) GetUri() string

func (*AuthzRequest) GetUserKey

func (x *AuthzRequest) GetUserKey() string

func (*AuthzRequest) ProtoMessage

func (*AuthzRequest) ProtoMessage()

func (*AuthzRequest) ProtoReflect

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

func (*AuthzRequest) Reset

func (x *AuthzRequest) Reset()

func (*AuthzRequest) String

func (x *AuthzRequest) String() string

func (*AuthzRequest) Validate

func (m *AuthzRequest) Validate() error

Validate checks the field values on AuthzRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type AuthzRequestValidationError

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

AuthzRequestValidationError is the validation error returned by AuthzRequest.Validate if the designated constraints aren't met.

func (AuthzRequestValidationError) Cause

Cause function returns cause value.

func (AuthzRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthzRequestValidationError) ErrorName

func (e AuthzRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthzRequestValidationError) Field

Field function returns field value.

func (AuthzRequestValidationError) Key

Key function returns key value.

func (AuthzRequestValidationError) Reason

Reason function returns reason value.

type OrganizationClient

type OrganizationClient interface {
	// FindById is application id and organization id
	FindById(ctx context.Context, in *OrganizationKey, opts ...grpc.CallOption) (*OrganizationEntity, error)
	// Update is organization entity update
	Update(ctx context.Context, in *OrganizationUpdateEntity, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Delete is organization entity delete
	Delete(ctx context.Context, in *OrganizationKey, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Create is create orgnization
	Create(ctx context.Context, in *OrganizationEntity, opts ...grpc.CallOption) (*OrganizationEntity, error)
	// FindAll is application is return organizations
	FindAll(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*OrganizationEntities, error)
}

OrganizationClient is the client API for Organization 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 OrganizationEntities

type OrganizationEntities struct {
	Organizations []*OrganizationEntity `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationEntities) Descriptor deprecated

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

Deprecated: Use OrganizationEntities.ProtoReflect.Descriptor instead.

func (*OrganizationEntities) GetOrganizations

func (x *OrganizationEntities) GetOrganizations() []*OrganizationEntity

func (*OrganizationEntities) ProtoMessage

func (*OrganizationEntities) ProtoMessage()

func (*OrganizationEntities) ProtoReflect

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

func (*OrganizationEntities) Reset

func (x *OrganizationEntities) Reset()

func (*OrganizationEntities) String

func (x *OrganizationEntities) String() string

func (*OrganizationEntities) Validate

func (m *OrganizationEntities) Validate() error

Validate checks the field values on OrganizationEntities with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OrganizationEntitiesValidationError

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

OrganizationEntitiesValidationError is the validation error returned by OrganizationEntities.Validate if the designated constraints aren't met.

func (OrganizationEntitiesValidationError) Cause

Cause function returns cause value.

func (OrganizationEntitiesValidationError) Error

Error satisfies the builtin error interface

func (OrganizationEntitiesValidationError) ErrorName

ErrorName returns error name.

func (OrganizationEntitiesValidationError) Field

Field function returns field value.

func (OrganizationEntitiesValidationError) Key

Key function returns key value.

func (OrganizationEntitiesValidationError) Reason

Reason function returns reason value.

type OrganizationEntity

type OrganizationEntity struct {
	Id          string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Users       []*UserEntity `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationEntity) Descriptor deprecated

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

Deprecated: Use OrganizationEntity.ProtoReflect.Descriptor instead.

func (*OrganizationEntity) GetDescription

func (x *OrganizationEntity) GetDescription() string

func (*OrganizationEntity) GetId

func (x *OrganizationEntity) GetId() string

func (*OrganizationEntity) GetName

func (x *OrganizationEntity) GetName() string

func (*OrganizationEntity) GetUsers

func (x *OrganizationEntity) GetUsers() []*UserEntity

func (*OrganizationEntity) ProtoMessage

func (*OrganizationEntity) ProtoMessage()

func (*OrganizationEntity) ProtoReflect

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

func (*OrganizationEntity) Reset

func (x *OrganizationEntity) Reset()

func (*OrganizationEntity) String

func (x *OrganizationEntity) String() string

func (*OrganizationEntity) Validate

func (m *OrganizationEntity) Validate() error

Validate checks the field values on OrganizationEntity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OrganizationEntityValidationError

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

OrganizationEntityValidationError is the validation error returned by OrganizationEntity.Validate if the designated constraints aren't met.

func (OrganizationEntityValidationError) Cause

Cause function returns cause value.

func (OrganizationEntityValidationError) Error

Error satisfies the builtin error interface

func (OrganizationEntityValidationError) ErrorName

ErrorName returns error name.

func (OrganizationEntityValidationError) Field

Field function returns field value.

func (OrganizationEntityValidationError) Key

Key function returns key value.

func (OrganizationEntityValidationError) Reason

Reason function returns reason value.

type OrganizationKey

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

func (*OrganizationKey) Descriptor deprecated

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

Deprecated: Use OrganizationKey.ProtoReflect.Descriptor instead.

func (*OrganizationKey) GetId

func (x *OrganizationKey) GetId() string

func (*OrganizationKey) ProtoMessage

func (*OrganizationKey) ProtoMessage()

func (*OrganizationKey) ProtoReflect

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

func (*OrganizationKey) Reset

func (x *OrganizationKey) Reset()

func (*OrganizationKey) String

func (x *OrganizationKey) String() string

func (*OrganizationKey) Validate

func (m *OrganizationKey) Validate() error

Validate checks the field values on OrganizationKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OrganizationKeyValidationError

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

OrganizationKeyValidationError is the validation error returned by OrganizationKey.Validate if the designated constraints aren't met.

func (OrganizationKeyValidationError) Cause

Cause function returns cause value.

func (OrganizationKeyValidationError) Error

Error satisfies the builtin error interface

func (OrganizationKeyValidationError) ErrorName

func (e OrganizationKeyValidationError) ErrorName() string

ErrorName returns error name.

func (OrganizationKeyValidationError) Field

Field function returns field value.

func (OrganizationKeyValidationError) Key

Key function returns key value.

func (OrganizationKeyValidationError) Reason

Reason function returns reason value.

type OrganizationServer

type OrganizationServer interface {
	// FindById is application id and organization id
	FindById(context.Context, *OrganizationKey) (*OrganizationEntity, error)
	// Update is organization entity update
	Update(context.Context, *OrganizationUpdateEntity) (*emptypb.Empty, error)
	// Delete is organization entity delete
	Delete(context.Context, *OrganizationKey) (*emptypb.Empty, error)
	// Create is create orgnization
	Create(context.Context, *OrganizationEntity) (*OrganizationEntity, error)
	// FindAll is application is return organizations
	FindAll(context.Context, *emptypb.Empty) (*OrganizationEntities, error)
	// contains filtered or unexported methods
}

OrganizationServer is the server API for Organization service. All implementations must embed UnimplementedOrganizationServer for forward compatibility

type OrganizationUpdateEntity

type OrganizationUpdateEntity struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationUpdateEntity) Descriptor deprecated

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

Deprecated: Use OrganizationUpdateEntity.ProtoReflect.Descriptor instead.

func (*OrganizationUpdateEntity) GetDescription

func (x *OrganizationUpdateEntity) GetDescription() string

func (*OrganizationUpdateEntity) GetId

func (x *OrganizationUpdateEntity) GetId() string

func (*OrganizationUpdateEntity) GetName

func (x *OrganizationUpdateEntity) GetName() string

func (*OrganizationUpdateEntity) ProtoMessage

func (*OrganizationUpdateEntity) ProtoMessage()

func (*OrganizationUpdateEntity) ProtoReflect

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

func (*OrganizationUpdateEntity) Reset

func (x *OrganizationUpdateEntity) Reset()

func (*OrganizationUpdateEntity) String

func (x *OrganizationUpdateEntity) String() string

func (*OrganizationUpdateEntity) Validate

func (m *OrganizationUpdateEntity) Validate() error

Validate checks the field values on OrganizationUpdateEntity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OrganizationUpdateEntityValidationError

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

OrganizationUpdateEntityValidationError is the validation error returned by OrganizationUpdateEntity.Validate if the designated constraints aren't met.

func (OrganizationUpdateEntityValidationError) Cause

Cause function returns cause value.

func (OrganizationUpdateEntityValidationError) Error

Error satisfies the builtin error interface

func (OrganizationUpdateEntityValidationError) ErrorName

ErrorName returns error name.

func (OrganizationUpdateEntityValidationError) Field

Field function returns field value.

func (OrganizationUpdateEntityValidationError) Key

Key function returns key value.

func (OrganizationUpdateEntityValidationError) Reason

Reason function returns reason value.

type OrganizationUser

type OrganizationUser struct {
	UserKey                 string `protobuf:"bytes,1,opt,name=userKey,proto3" json:"userKey,omitempty"`
	OrganizationId          string `protobuf:"bytes,2,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	OrganizationName        string `protobuf:"bytes,3,opt,name=organizationName,proto3" json:"organizationName,omitempty"`
	OrganizationDescription string `protobuf:"bytes,4,opt,name=organizationDescription,proto3" json:"organizationDescription,omitempty"`
	// contains filtered or unexported fields
}

func (*OrganizationUser) Descriptor deprecated

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

Deprecated: Use OrganizationUser.ProtoReflect.Descriptor instead.

func (*OrganizationUser) GetOrganizationDescription

func (x *OrganizationUser) GetOrganizationDescription() string

func (*OrganizationUser) GetOrganizationId

func (x *OrganizationUser) GetOrganizationId() string

func (*OrganizationUser) GetOrganizationName

func (x *OrganizationUser) GetOrganizationName() string

func (*OrganizationUser) GetUserKey

func (x *OrganizationUser) GetUserKey() string

func (*OrganizationUser) ProtoMessage

func (*OrganizationUser) ProtoMessage()

func (*OrganizationUser) ProtoReflect

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

func (*OrganizationUser) Reset

func (x *OrganizationUser) Reset()

func (*OrganizationUser) String

func (x *OrganizationUser) String() string

func (*OrganizationUser) Validate

func (m *OrganizationUser) Validate() error

Validate checks the field values on OrganizationUser with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type OrganizationUserValidationError

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

OrganizationUserValidationError is the validation error returned by OrganizationUser.Validate if the designated constraints aren't met.

func (OrganizationUserValidationError) Cause

Cause function returns cause value.

func (OrganizationUserValidationError) Error

Error satisfies the builtin error interface

func (OrganizationUserValidationError) ErrorName

ErrorName returns error name.

func (OrganizationUserValidationError) Field

Field function returns field value.

func (OrganizationUserValidationError) Key

Key function returns key value.

func (OrganizationUserValidationError) Reason

Reason function returns reason value.

type PermissionCheckRequest

type PermissionCheckRequest struct {
	UserKey          string   `protobuf:"bytes,1,opt,name=userKey,proto3" json:"userKey,omitempty"`
	OrganizationName string   `protobuf:"bytes,2,opt,name=organizationName,proto3" json:"organizationName,omitempty"`
	PermissionNames  []string `protobuf:"bytes,3,rep,name=permissionNames,proto3" json:"permissionNames,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionCheckRequest) Descriptor deprecated

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

Deprecated: Use PermissionCheckRequest.ProtoReflect.Descriptor instead.

func (*PermissionCheckRequest) GetOrganizationName

func (x *PermissionCheckRequest) GetOrganizationName() string

func (*PermissionCheckRequest) GetPermissionNames

func (x *PermissionCheckRequest) GetPermissionNames() []string

func (*PermissionCheckRequest) GetUserKey

func (x *PermissionCheckRequest) GetUserKey() string

func (*PermissionCheckRequest) ProtoMessage

func (*PermissionCheckRequest) ProtoMessage()

func (*PermissionCheckRequest) ProtoReflect

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

func (*PermissionCheckRequest) Reset

func (x *PermissionCheckRequest) Reset()

func (*PermissionCheckRequest) String

func (x *PermissionCheckRequest) String() string

func (*PermissionCheckRequest) Validate

func (m *PermissionCheckRequest) Validate() error

Validate checks the field values on PermissionCheckRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PermissionCheckRequestValidationError

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

PermissionCheckRequestValidationError is the validation error returned by PermissionCheckRequest.Validate if the designated constraints aren't met.

func (PermissionCheckRequestValidationError) Cause

Cause function returns cause value.

func (PermissionCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (PermissionCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (PermissionCheckRequestValidationError) Field

Field function returns field value.

func (PermissionCheckRequestValidationError) Key

Key function returns key value.

func (PermissionCheckRequestValidationError) Reason

Reason function returns reason value.

type PermissionCheckResult

type PermissionCheckResult struct {
	Result  bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionCheckResult) Descriptor deprecated

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

Deprecated: Use PermissionCheckResult.ProtoReflect.Descriptor instead.

func (*PermissionCheckResult) GetMessage

func (x *PermissionCheckResult) GetMessage() string

func (*PermissionCheckResult) GetResult

func (x *PermissionCheckResult) GetResult() bool

func (*PermissionCheckResult) ProtoMessage

func (*PermissionCheckResult) ProtoMessage()

func (*PermissionCheckResult) ProtoReflect

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

func (*PermissionCheckResult) Reset

func (x *PermissionCheckResult) Reset()

func (*PermissionCheckResult) String

func (x *PermissionCheckResult) String() string

func (*PermissionCheckResult) Validate

func (m *PermissionCheckResult) Validate() error

Validate checks the field values on PermissionCheckResult with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PermissionCheckResultValidationError

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

PermissionCheckResultValidationError is the validation error returned by PermissionCheckResult.Validate if the designated constraints aren't met.

func (PermissionCheckResultValidationError) Cause

Cause function returns cause value.

func (PermissionCheckResultValidationError) Error

Error satisfies the builtin error interface

func (PermissionCheckResultValidationError) ErrorName

ErrorName returns error name.

func (PermissionCheckResultValidationError) Field

Field function returns field value.

func (PermissionCheckResultValidationError) Key

Key function returns key value.

func (PermissionCheckResultValidationError) Reason

Reason function returns reason value.

type PermissionClient

type PermissionClient interface {
	// Check is resource check
	Check(ctx context.Context, in *PermissionCheckRequest, opts ...grpc.CallOption) (*PermissionCheckResult, error)
	// FindById is find by id
	FindById(ctx context.Context, in *PermissionKey, opts ...grpc.CallOption) (*PermissionEntity, error)
	// Update is permission entity update
	Update(ctx context.Context, in *PermissionEntity, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Delete is permission entity delete
	Delete(ctx context.Context, in *PermissionKey, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Create is create permission
	Create(ctx context.Context, in *PermissionEntities, opts ...grpc.CallOption) (*PermissionEntities, error)
	// FindAll is find by application id return permissions
	FindAll(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PermissionEntities, error)
}

PermissionClient is the client API for Permission 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 NewPermissionClient

func NewPermissionClient(cc grpc.ClientConnInterface) PermissionClient

type PermissionEntities

type PermissionEntities struct {
	Permissions []*PermissionEntity `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionEntities) Descriptor deprecated

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

Deprecated: Use PermissionEntities.ProtoReflect.Descriptor instead.

func (*PermissionEntities) GetPermissions

func (x *PermissionEntities) GetPermissions() []*PermissionEntity

func (*PermissionEntities) ProtoMessage

func (*PermissionEntities) ProtoMessage()

func (*PermissionEntities) ProtoReflect

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

func (*PermissionEntities) Reset

func (x *PermissionEntities) Reset()

func (*PermissionEntities) String

func (x *PermissionEntities) String() string

func (*PermissionEntities) Validate

func (m *PermissionEntities) Validate() error

Validate checks the field values on PermissionEntities with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PermissionEntitiesValidationError

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

PermissionEntitiesValidationError is the validation error returned by PermissionEntities.Validate if the designated constraints aren't met.

func (PermissionEntitiesValidationError) Cause

Cause function returns cause value.

func (PermissionEntitiesValidationError) Error

Error satisfies the builtin error interface

func (PermissionEntitiesValidationError) ErrorName

ErrorName returns error name.

func (PermissionEntitiesValidationError) Field

Field function returns field value.

func (PermissionEntitiesValidationError) Key

Key function returns key value.

func (PermissionEntitiesValidationError) Reason

Reason function returns reason value.

type PermissionEntity

type PermissionEntity struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionEntity) Descriptor deprecated

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

Deprecated: Use PermissionEntity.ProtoReflect.Descriptor instead.

func (*PermissionEntity) GetDescription

func (x *PermissionEntity) GetDescription() string

func (*PermissionEntity) GetId

func (x *PermissionEntity) GetId() string

func (*PermissionEntity) GetName

func (x *PermissionEntity) GetName() string

func (*PermissionEntity) ProtoMessage

func (*PermissionEntity) ProtoMessage()

func (*PermissionEntity) ProtoReflect

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

func (*PermissionEntity) Reset

func (x *PermissionEntity) Reset()

func (*PermissionEntity) String

func (x *PermissionEntity) String() string

func (*PermissionEntity) Validate

func (m *PermissionEntity) Validate() error

Validate checks the field values on PermissionEntity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PermissionEntityValidationError

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

PermissionEntityValidationError is the validation error returned by PermissionEntity.Validate if the designated constraints aren't met.

func (PermissionEntityValidationError) Cause

Cause function returns cause value.

func (PermissionEntityValidationError) Error

Error satisfies the builtin error interface

func (PermissionEntityValidationError) ErrorName

ErrorName returns error name.

func (PermissionEntityValidationError) Field

Field function returns field value.

func (PermissionEntityValidationError) Key

Key function returns key value.

func (PermissionEntityValidationError) Reason

Reason function returns reason value.

type PermissionKey

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

func (*PermissionKey) Descriptor deprecated

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

Deprecated: Use PermissionKey.ProtoReflect.Descriptor instead.

func (*PermissionKey) GetId

func (x *PermissionKey) GetId() string

func (*PermissionKey) ProtoMessage

func (*PermissionKey) ProtoMessage()

func (*PermissionKey) ProtoReflect

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

func (*PermissionKey) Reset

func (x *PermissionKey) Reset()

func (*PermissionKey) String

func (x *PermissionKey) String() string

func (*PermissionKey) Validate

func (m *PermissionKey) Validate() error

Validate checks the field values on PermissionKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PermissionKeyValidationError

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

PermissionKeyValidationError is the validation error returned by PermissionKey.Validate if the designated constraints aren't met.

func (PermissionKeyValidationError) Cause

Cause function returns cause value.

func (PermissionKeyValidationError) Error

Error satisfies the builtin error interface

func (PermissionKeyValidationError) ErrorName

func (e PermissionKeyValidationError) ErrorName() string

ErrorName returns error name.

func (PermissionKeyValidationError) Field

Field function returns field value.

func (PermissionKeyValidationError) Key

Key function returns key value.

func (PermissionKeyValidationError) Reason

Reason function returns reason value.

type PermissionServer

type PermissionServer interface {
	// Check is resource check
	Check(context.Context, *PermissionCheckRequest) (*PermissionCheckResult, error)
	// FindById is find by id
	FindById(context.Context, *PermissionKey) (*PermissionEntity, error)
	// Update is permission entity update
	Update(context.Context, *PermissionEntity) (*emptypb.Empty, error)
	// Delete is permission entity delete
	Delete(context.Context, *PermissionKey) (*emptypb.Empty, error)
	// Create is create permission
	Create(context.Context, *PermissionEntities) (*PermissionEntities, error)
	// FindAll is find by application id return permissions
	FindAll(context.Context, *emptypb.Empty) (*PermissionEntities, error)
	// contains filtered or unexported methods
}

PermissionServer is the server API for Permission service. All implementations must embed UnimplementedPermissionServer for forward compatibility

type ResourceClient

type ResourceClient interface {
	Save(ctx context.Context, in *SaveRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Authz(ctx context.Context, in *AuthzRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ResourceClient is the client API for Resource 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 NewResourceClient

func NewResourceClient(cc grpc.ClientConnInterface) ResourceClient

type ResourceServer

type ResourceServer interface {
	Save(context.Context, *SaveRequest) (*emptypb.Empty, error)
	Authz(context.Context, *AuthzRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

ResourceServer is the server API for Resource service. All implementations must embed UnimplementedResourceServer for forward compatibility

type RoleClient

type RoleClient interface {
	// DeletePermission is delete permission to the role
	DeletePermission(ctx context.Context, in *RoleReleationPermission, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// GetPermissions is get permission to the role
	GetPermissions(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*PermissionEntities, error)
	// AddPermissions is add permission to the role
	AddPermissions(ctx context.Context, in *RoleReleationPermissions, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeletePermissions is delete permission to the role
	DeletePermissions(ctx context.Context, in *RoleReleationPermissions, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// FindById is find by id
	FindById(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*RoleEntity, error)
	// Update is role entity update
	Update(ctx context.Context, in *RoleUpdateEntity, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Delete is role entity delete
	Delete(ctx context.Context, in *RoleKey, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// RoleCreate is create role
	Create(ctx context.Context, in *RoleEntities, opts ...grpc.CallOption) (*RoleEntities, error)
	// FindAll is find roles
	FindAll(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*RoleEntities, error)
}

RoleClient is the client API for Role 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 NewRoleClient

func NewRoleClient(cc grpc.ClientConnInterface) RoleClient

type RoleEntities

type RoleEntities struct {
	Roles []*RoleEntity `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleEntities) Descriptor deprecated

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

Deprecated: Use RoleEntities.ProtoReflect.Descriptor instead.

func (*RoleEntities) GetRoles

func (x *RoleEntities) GetRoles() []*RoleEntity

func (*RoleEntities) ProtoMessage

func (*RoleEntities) ProtoMessage()

func (*RoleEntities) ProtoReflect

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

func (*RoleEntities) Reset

func (x *RoleEntities) Reset()

func (*RoleEntities) String

func (x *RoleEntities) String() string

func (*RoleEntities) Validate

func (m *RoleEntities) Validate() error

Validate checks the field values on RoleEntities with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoleEntitiesValidationError

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

RoleEntitiesValidationError is the validation error returned by RoleEntities.Validate if the designated constraints aren't met.

func (RoleEntitiesValidationError) Cause

Cause function returns cause value.

func (RoleEntitiesValidationError) Error

Error satisfies the builtin error interface

func (RoleEntitiesValidationError) ErrorName

func (e RoleEntitiesValidationError) ErrorName() string

ErrorName returns error name.

func (RoleEntitiesValidationError) Field

Field function returns field value.

func (RoleEntitiesValidationError) Key

Key function returns key value.

func (RoleEntitiesValidationError) Reason

Reason function returns reason value.

type RoleEntity

type RoleEntity struct {
	Id                string              `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name              string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description       string              `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Permissions       []*PermissionEntity `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	OrganizationUsers []*OrganizationUser `protobuf:"bytes,5,rep,name=organizationUsers,proto3" json:"organizationUsers,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleEntity) Descriptor deprecated

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

Deprecated: Use RoleEntity.ProtoReflect.Descriptor instead.

func (*RoleEntity) GetDescription

func (x *RoleEntity) GetDescription() string

func (*RoleEntity) GetId

func (x *RoleEntity) GetId() string

func (*RoleEntity) GetName

func (x *RoleEntity) GetName() string

func (*RoleEntity) GetOrganizationUsers

func (x *RoleEntity) GetOrganizationUsers() []*OrganizationUser

func (*RoleEntity) GetPermissions

func (x *RoleEntity) GetPermissions() []*PermissionEntity

func (*RoleEntity) ProtoMessage

func (*RoleEntity) ProtoMessage()

func (*RoleEntity) ProtoReflect

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

func (*RoleEntity) Reset

func (x *RoleEntity) Reset()

func (*RoleEntity) String

func (x *RoleEntity) String() string

func (*RoleEntity) Validate

func (m *RoleEntity) Validate() error

Validate checks the field values on RoleEntity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoleEntityValidationError

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

RoleEntityValidationError is the validation error returned by RoleEntity.Validate if the designated constraints aren't met.

func (RoleEntityValidationError) Cause

func (e RoleEntityValidationError) Cause() error

Cause function returns cause value.

func (RoleEntityValidationError) Error

Error satisfies the builtin error interface

func (RoleEntityValidationError) ErrorName

func (e RoleEntityValidationError) ErrorName() string

ErrorName returns error name.

func (RoleEntityValidationError) Field

Field function returns field value.

func (RoleEntityValidationError) Key

Key function returns key value.

func (RoleEntityValidationError) Reason

func (e RoleEntityValidationError) Reason() string

Reason function returns reason value.

type RoleKey

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

func (*RoleKey) Descriptor deprecated

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

Deprecated: Use RoleKey.ProtoReflect.Descriptor instead.

func (*RoleKey) GetId

func (x *RoleKey) GetId() string

func (*RoleKey) ProtoMessage

func (*RoleKey) ProtoMessage()

func (*RoleKey) ProtoReflect

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

func (*RoleKey) Reset

func (x *RoleKey) Reset()

func (*RoleKey) String

func (x *RoleKey) String() string

func (*RoleKey) Validate

func (m *RoleKey) Validate() error

Validate checks the field values on RoleKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoleKeyValidationError

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

RoleKeyValidationError is the validation error returned by RoleKey.Validate if the designated constraints aren't met.

func (RoleKeyValidationError) Cause

func (e RoleKeyValidationError) Cause() error

Cause function returns cause value.

func (RoleKeyValidationError) Error

func (e RoleKeyValidationError) Error() string

Error satisfies the builtin error interface

func (RoleKeyValidationError) ErrorName

func (e RoleKeyValidationError) ErrorName() string

ErrorName returns error name.

func (RoleKeyValidationError) Field

func (e RoleKeyValidationError) Field() string

Field function returns field value.

func (RoleKeyValidationError) Key

func (e RoleKeyValidationError) Key() bool

Key function returns key value.

func (RoleKeyValidationError) Reason

func (e RoleKeyValidationError) Reason() string

Reason function returns reason value.

type RoleReleationPermission

type RoleReleationPermission struct {
	Id           string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	PermissionId string `protobuf:"bytes,2,opt,name=permissionId,proto3" json:"permissionId,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleReleationPermission) Descriptor deprecated

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

Deprecated: Use RoleReleationPermission.ProtoReflect.Descriptor instead.

func (*RoleReleationPermission) GetId

func (x *RoleReleationPermission) GetId() string

func (*RoleReleationPermission) GetPermissionId

func (x *RoleReleationPermission) GetPermissionId() string

func (*RoleReleationPermission) ProtoMessage

func (*RoleReleationPermission) ProtoMessage()

func (*RoleReleationPermission) ProtoReflect

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

func (*RoleReleationPermission) Reset

func (x *RoleReleationPermission) Reset()

func (*RoleReleationPermission) String

func (x *RoleReleationPermission) String() string

func (*RoleReleationPermission) Validate

func (m *RoleReleationPermission) Validate() error

Validate checks the field values on RoleReleationPermission with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoleReleationPermissionValidationError

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

RoleReleationPermissionValidationError is the validation error returned by RoleReleationPermission.Validate if the designated constraints aren't met.

func (RoleReleationPermissionValidationError) Cause

Cause function returns cause value.

func (RoleReleationPermissionValidationError) Error

Error satisfies the builtin error interface

func (RoleReleationPermissionValidationError) ErrorName

ErrorName returns error name.

func (RoleReleationPermissionValidationError) Field

Field function returns field value.

func (RoleReleationPermissionValidationError) Key

Key function returns key value.

func (RoleReleationPermissionValidationError) Reason

Reason function returns reason value.

type RoleReleationPermissions

type RoleReleationPermissions struct {
	Id          string           `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Permissions []*PermissionKey `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleReleationPermissions) Descriptor deprecated

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

Deprecated: Use RoleReleationPermissions.ProtoReflect.Descriptor instead.

func (*RoleReleationPermissions) GetId

func (x *RoleReleationPermissions) GetId() string

func (*RoleReleationPermissions) GetPermissions

func (x *RoleReleationPermissions) GetPermissions() []*PermissionKey

func (*RoleReleationPermissions) ProtoMessage

func (*RoleReleationPermissions) ProtoMessage()

func (*RoleReleationPermissions) ProtoReflect

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

func (*RoleReleationPermissions) Reset

func (x *RoleReleationPermissions) Reset()

func (*RoleReleationPermissions) String

func (x *RoleReleationPermissions) String() string

func (*RoleReleationPermissions) Validate

func (m *RoleReleationPermissions) Validate() error

Validate checks the field values on RoleReleationPermissions with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoleReleationPermissionsValidationError

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

RoleReleationPermissionsValidationError is the validation error returned by RoleReleationPermissions.Validate if the designated constraints aren't met.

func (RoleReleationPermissionsValidationError) Cause

Cause function returns cause value.

func (RoleReleationPermissionsValidationError) Error

Error satisfies the builtin error interface

func (RoleReleationPermissionsValidationError) ErrorName

ErrorName returns error name.

func (RoleReleationPermissionsValidationError) Field

Field function returns field value.

func (RoleReleationPermissionsValidationError) Key

Key function returns key value.

func (RoleReleationPermissionsValidationError) Reason

Reason function returns reason value.

type RoleServer

type RoleServer interface {
	// DeletePermission is delete permission to the role
	DeletePermission(context.Context, *RoleReleationPermission) (*emptypb.Empty, error)
	// GetPermissions is get permission to the role
	GetPermissions(context.Context, *RoleKey) (*PermissionEntities, error)
	// AddPermissions is add permission to the role
	AddPermissions(context.Context, *RoleReleationPermissions) (*emptypb.Empty, error)
	// DeletePermissions is delete permission to the role
	DeletePermissions(context.Context, *RoleReleationPermissions) (*emptypb.Empty, error)
	// FindById is find by id
	FindById(context.Context, *RoleKey) (*RoleEntity, error)
	// Update is role entity update
	Update(context.Context, *RoleUpdateEntity) (*emptypb.Empty, error)
	// Delete is role entity delete
	Delete(context.Context, *RoleKey) (*emptypb.Empty, error)
	// RoleCreate is create role
	Create(context.Context, *RoleEntities) (*RoleEntities, error)
	// FindAll is find roles
	FindAll(context.Context, *emptypb.Empty) (*RoleEntities, error)
	// contains filtered or unexported methods
}

RoleServer is the server API for Role service. All implementations must embed UnimplementedRoleServer for forward compatibility

type RoleUpdateEntity

type RoleUpdateEntity struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleUpdateEntity) Descriptor deprecated

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

Deprecated: Use RoleUpdateEntity.ProtoReflect.Descriptor instead.

func (*RoleUpdateEntity) GetDescription

func (x *RoleUpdateEntity) GetDescription() string

func (*RoleUpdateEntity) GetId

func (x *RoleUpdateEntity) GetId() string

func (*RoleUpdateEntity) GetName

func (x *RoleUpdateEntity) GetName() string

func (*RoleUpdateEntity) ProtoMessage

func (*RoleUpdateEntity) ProtoMessage()

func (*RoleUpdateEntity) ProtoReflect

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

func (*RoleUpdateEntity) Reset

func (x *RoleUpdateEntity) Reset()

func (*RoleUpdateEntity) String

func (x *RoleUpdateEntity) String() string

func (*RoleUpdateEntity) Validate

func (m *RoleUpdateEntity) Validate() error

Validate checks the field values on RoleUpdateEntity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RoleUpdateEntityValidationError

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

RoleUpdateEntityValidationError is the validation error returned by RoleUpdateEntity.Validate if the designated constraints aren't met.

func (RoleUpdateEntityValidationError) Cause

Cause function returns cause value.

func (RoleUpdateEntityValidationError) Error

Error satisfies the builtin error interface

func (RoleUpdateEntityValidationError) ErrorName

ErrorName returns error name.

func (RoleUpdateEntityValidationError) Field

Field function returns field value.

func (RoleUpdateEntityValidationError) Key

Key function returns key value.

func (RoleUpdateEntityValidationError) Reason

Reason function returns reason value.

type SaveRequest

type SaveRequest struct {
	Method      string   `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Uri         string   `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	Permissions []string `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*SaveRequest) Descriptor deprecated

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

Deprecated: Use SaveRequest.ProtoReflect.Descriptor instead.

func (*SaveRequest) GetMethod

func (x *SaveRequest) GetMethod() string

func (*SaveRequest) GetPermissions

func (x *SaveRequest) GetPermissions() []string

func (*SaveRequest) GetUri

func (x *SaveRequest) GetUri() string

func (*SaveRequest) ProtoMessage

func (*SaveRequest) ProtoMessage()

func (*SaveRequest) ProtoReflect

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

func (*SaveRequest) Reset

func (x *SaveRequest) Reset()

func (*SaveRequest) String

func (x *SaveRequest) String() string

func (*SaveRequest) Validate

func (m *SaveRequest) Validate() error

Validate checks the field values on SaveRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SaveRequestValidationError

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

SaveRequestValidationError is the validation error returned by SaveRequest.Validate if the designated constraints aren't met.

func (SaveRequestValidationError) Cause

Cause function returns cause value.

func (SaveRequestValidationError) Error

Error satisfies the builtin error interface

func (SaveRequestValidationError) ErrorName

func (e SaveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SaveRequestValidationError) Field

Field function returns field value.

func (SaveRequestValidationError) Key

Key function returns key value.

func (SaveRequestValidationError) Reason

Reason function returns reason value.

type UnimplementedOrganizationServer

type UnimplementedOrganizationServer struct {
}

UnimplementedOrganizationServer must be embedded to have forward compatible implementations.

func (UnimplementedOrganizationServer) Create

func (UnimplementedOrganizationServer) Delete

func (UnimplementedOrganizationServer) FindAll

func (UnimplementedOrganizationServer) FindById

func (UnimplementedOrganizationServer) Update

type UnimplementedPermissionServer

type UnimplementedPermissionServer struct {
}

UnimplementedPermissionServer must be embedded to have forward compatible implementations.

func (UnimplementedPermissionServer) Check

func (UnimplementedPermissionServer) Create

func (UnimplementedPermissionServer) Delete

func (UnimplementedPermissionServer) FindAll

func (UnimplementedPermissionServer) FindById

func (UnimplementedPermissionServer) Update

type UnimplementedResourceServer

type UnimplementedResourceServer struct {
}

UnimplementedResourceServer must be embedded to have forward compatible implementations.

func (UnimplementedResourceServer) Authz

func (UnimplementedResourceServer) Save

type UnimplementedRoleServer

type UnimplementedRoleServer struct {
}

UnimplementedRoleServer must be embedded to have forward compatible implementations.

func (UnimplementedRoleServer) AddPermissions

func (UnimplementedRoleServer) Create

func (UnimplementedRoleServer) Delete

func (UnimplementedRoleServer) DeletePermission

func (UnimplementedRoleServer) DeletePermissions

func (UnimplementedRoleServer) FindAll

func (UnimplementedRoleServer) FindById

func (UnimplementedRoleServer) GetPermissions

func (UnimplementedRoleServer) Update

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) AddRoles

func (UnimplementedUserServer) Create

func (UnimplementedUserServer) Delete

func (UnimplementedUserServer) DeleteRole

func (UnimplementedUserServer) DeleteRoles

func (UnimplementedUserServer) FindByKey

func (UnimplementedUserServer) FindByOrganizationNameAndUserKey

func (UnimplementedUserServer) FindByOrganizationNameAndUserKey(context.Context, *UserKeyByName) (*UserEntity, error)

type UnsafeOrganizationServer

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

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

type UnsafePermissionServer

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

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

type UnsafeResourceServer

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

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

type UnsafeRoleServer

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

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

type UnsafeUserServer

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

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

type UserClient

type UserClient interface {
	// FindByKey is find organization id and user key
	FindByKey(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*UserEntity, error)
	// FindByOrganizationNameAndUserKey is find organization id and user key
	FindByOrganizationNameAndUserKey(ctx context.Context, in *UserKeyByName, opts ...grpc.CallOption) (*UserEntity, error)
	// Delete is delete user
	Delete(ctx context.Context, in *UserKey, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteRole is delete role to user
	DeleteRole(ctx context.Context, in *UserRoleDelete, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// AddRoles is add role to user
	AddRoles(ctx context.Context, in *UserRole, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// DeleteRoles is delete role to user
	DeleteRoles(ctx context.Context, in *UserRole, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Create is create user
	Create(ctx context.Context, in *UserEntity, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

UserClient is the client API for User 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 NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserEntity

type UserEntity struct {
	Key            string              `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	OrganizationId string              `protobuf:"bytes,2,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	Roles          []*RoleEntity       `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	Permissions    []*PermissionEntity `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*UserEntity) Descriptor deprecated

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

Deprecated: Use UserEntity.ProtoReflect.Descriptor instead.

func (*UserEntity) GetKey

func (x *UserEntity) GetKey() string

func (*UserEntity) GetOrganizationId

func (x *UserEntity) GetOrganizationId() string

func (*UserEntity) GetPermissions

func (x *UserEntity) GetPermissions() []*PermissionEntity

func (*UserEntity) GetRoles

func (x *UserEntity) GetRoles() []*RoleEntity

func (*UserEntity) ProtoMessage

func (*UserEntity) ProtoMessage()

func (*UserEntity) ProtoReflect

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

func (*UserEntity) Reset

func (x *UserEntity) Reset()

func (*UserEntity) String

func (x *UserEntity) String() string

func (*UserEntity) Validate

func (m *UserEntity) Validate() error

Validate checks the field values on UserEntity with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UserEntityValidationError

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

UserEntityValidationError is the validation error returned by UserEntity.Validate if the designated constraints aren't met.

func (UserEntityValidationError) Cause

func (e UserEntityValidationError) Cause() error

Cause function returns cause value.

func (UserEntityValidationError) Error

Error satisfies the builtin error interface

func (UserEntityValidationError) ErrorName

func (e UserEntityValidationError) ErrorName() string

ErrorName returns error name.

func (UserEntityValidationError) Field

Field function returns field value.

func (UserEntityValidationError) Key

Key function returns key value.

func (UserEntityValidationError) Reason

func (e UserEntityValidationError) Reason() string

Reason function returns reason value.

type UserKey

type UserKey struct {
	Key            string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	OrganizationId string `protobuf:"bytes,2,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	// contains filtered or unexported fields
}

func (*UserKey) Descriptor deprecated

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

Deprecated: Use UserKey.ProtoReflect.Descriptor instead.

func (*UserKey) GetKey

func (x *UserKey) GetKey() string

func (*UserKey) GetOrganizationId

func (x *UserKey) GetOrganizationId() string

func (*UserKey) ProtoMessage

func (*UserKey) ProtoMessage()

func (*UserKey) ProtoReflect

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

func (*UserKey) Reset

func (x *UserKey) Reset()

func (*UserKey) String

func (x *UserKey) String() string

func (*UserKey) Validate

func (m *UserKey) Validate() error

Validate checks the field values on UserKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UserKeyByName

type UserKeyByName struct {
	Key              string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	OrganizationName string `protobuf:"bytes,2,opt,name=organizationName,proto3" json:"organizationName,omitempty"`
	// contains filtered or unexported fields
}

func (*UserKeyByName) Descriptor deprecated

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

Deprecated: Use UserKeyByName.ProtoReflect.Descriptor instead.

func (*UserKeyByName) GetKey

func (x *UserKeyByName) GetKey() string

func (*UserKeyByName) GetOrganizationName

func (x *UserKeyByName) GetOrganizationName() string

func (*UserKeyByName) ProtoMessage

func (*UserKeyByName) ProtoMessage()

func (*UserKeyByName) ProtoReflect

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

func (*UserKeyByName) Reset

func (x *UserKeyByName) Reset()

func (*UserKeyByName) String

func (x *UserKeyByName) String() string

func (*UserKeyByName) Validate

func (m *UserKeyByName) Validate() error

Validate checks the field values on UserKeyByName with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UserKeyByNameValidationError

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

UserKeyByNameValidationError is the validation error returned by UserKeyByName.Validate if the designated constraints aren't met.

func (UserKeyByNameValidationError) Cause

Cause function returns cause value.

func (UserKeyByNameValidationError) Error

Error satisfies the builtin error interface

func (UserKeyByNameValidationError) ErrorName

func (e UserKeyByNameValidationError) ErrorName() string

ErrorName returns error name.

func (UserKeyByNameValidationError) Field

Field function returns field value.

func (UserKeyByNameValidationError) Key

Key function returns key value.

func (UserKeyByNameValidationError) Reason

Reason function returns reason value.

type UserKeyValidationError

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

UserKeyValidationError is the validation error returned by UserKey.Validate if the designated constraints aren't met.

func (UserKeyValidationError) Cause

func (e UserKeyValidationError) Cause() error

Cause function returns cause value.

func (UserKeyValidationError) Error

func (e UserKeyValidationError) Error() string

Error satisfies the builtin error interface

func (UserKeyValidationError) ErrorName

func (e UserKeyValidationError) ErrorName() string

ErrorName returns error name.

func (UserKeyValidationError) Field

func (e UserKeyValidationError) Field() string

Field function returns field value.

func (UserKeyValidationError) Key

func (e UserKeyValidationError) Key() bool

Key function returns key value.

func (UserKeyValidationError) Reason

func (e UserKeyValidationError) Reason() string

Reason function returns reason value.

type UserRole

type UserRole struct {
	Key            string     `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	OrganizationId string     `protobuf:"bytes,2,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	Roles          []*RoleKey `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRole) Descriptor deprecated

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

Deprecated: Use UserRole.ProtoReflect.Descriptor instead.

func (*UserRole) GetKey

func (x *UserRole) GetKey() string

func (*UserRole) GetOrganizationId

func (x *UserRole) GetOrganizationId() string

func (*UserRole) GetRoles

func (x *UserRole) GetRoles() []*RoleKey

func (*UserRole) ProtoMessage

func (*UserRole) ProtoMessage()

func (*UserRole) ProtoReflect

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

func (*UserRole) Reset

func (x *UserRole) Reset()

func (*UserRole) String

func (x *UserRole) String() string

func (*UserRole) Validate

func (m *UserRole) Validate() error

Validate checks the field values on UserRole with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UserRoleDelete

type UserRoleDelete struct {
	Key            string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	OrganizationId string `protobuf:"bytes,2,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	RoleId         string `protobuf:"bytes,3,opt,name=roleId,proto3" json:"roleId,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleDelete) Descriptor deprecated

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

Deprecated: Use UserRoleDelete.ProtoReflect.Descriptor instead.

func (*UserRoleDelete) GetKey

func (x *UserRoleDelete) GetKey() string

func (*UserRoleDelete) GetOrganizationId

func (x *UserRoleDelete) GetOrganizationId() string

func (*UserRoleDelete) GetRoleId

func (x *UserRoleDelete) GetRoleId() string

func (*UserRoleDelete) ProtoMessage

func (*UserRoleDelete) ProtoMessage()

func (*UserRoleDelete) ProtoReflect

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

func (*UserRoleDelete) Reset

func (x *UserRoleDelete) Reset()

func (*UserRoleDelete) String

func (x *UserRoleDelete) String() string

func (*UserRoleDelete) Validate

func (m *UserRoleDelete) Validate() error

Validate checks the field values on UserRoleDelete with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UserRoleDeleteValidationError

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

UserRoleDeleteValidationError is the validation error returned by UserRoleDelete.Validate if the designated constraints aren't met.

func (UserRoleDeleteValidationError) Cause

Cause function returns cause value.

func (UserRoleDeleteValidationError) Error

Error satisfies the builtin error interface

func (UserRoleDeleteValidationError) ErrorName

func (e UserRoleDeleteValidationError) ErrorName() string

ErrorName returns error name.

func (UserRoleDeleteValidationError) Field

Field function returns field value.

func (UserRoleDeleteValidationError) Key

Key function returns key value.

func (UserRoleDeleteValidationError) Reason

Reason function returns reason value.

type UserRoleValidationError

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

UserRoleValidationError is the validation error returned by UserRole.Validate if the designated constraints aren't met.

func (UserRoleValidationError) Cause

func (e UserRoleValidationError) Cause() error

Cause function returns cause value.

func (UserRoleValidationError) Error

func (e UserRoleValidationError) Error() string

Error satisfies the builtin error interface

func (UserRoleValidationError) ErrorName

func (e UserRoleValidationError) ErrorName() string

ErrorName returns error name.

func (UserRoleValidationError) Field

func (e UserRoleValidationError) Field() string

Field function returns field value.

func (UserRoleValidationError) Key

func (e UserRoleValidationError) Key() bool

Key function returns key value.

func (UserRoleValidationError) Reason

func (e UserRoleValidationError) Reason() string

Reason function returns reason value.

type UserServer

type UserServer interface {
	// FindByKey is find organization id and user key
	FindByKey(context.Context, *UserKey) (*UserEntity, error)
	// FindByOrganizationNameAndUserKey is find organization id and user key
	FindByOrganizationNameAndUserKey(context.Context, *UserKeyByName) (*UserEntity, error)
	// Delete is delete user
	Delete(context.Context, *UserKey) (*emptypb.Empty, error)
	// DeleteRole is delete role to user
	DeleteRole(context.Context, *UserRoleDelete) (*emptypb.Empty, error)
	// AddRoles is add role to user
	AddRoles(context.Context, *UserRole) (*emptypb.Empty, error)
	// DeleteRoles is delete role to user
	DeleteRoles(context.Context, *UserRole) (*emptypb.Empty, error)
	// Create is create user
	Create(context.Context, *UserEntity) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

Jump to

Keyboard shortcuts

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