Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Relative = typesrest.NewRelativeEndpoint() ByRoleId = typesrest.NewRelativeEndpoint(typesrest.RoleId) )
Auth service roles REST endpoints
View Source
var ( AddRoleMapper = typesrest.NewMapper(Relative, grpcauth.AddRole) GetRolesMapper = typesrest.NewMapper(Relative, grpcauth.GetRoles) AddRolePermissionMapper = typesrest.NewMapper(ByRoleId, grpcauth.AddRolePermission) GetRolePermissionsMapper = typesrest.NewMapper(ByRoleId, grpcauth.GetRolePermissions) RevokeRoleMapper = typesrest.NewMapper(ByRoleId, grpcauth.RevokeRole) )
Auth service roles endpoints mapping
View Source
var Base = typesrest.NewBaseEndpoint("roles")
Base is the base endpoint for the auth service roles REST endpoints
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.