Documentation ¶
Index ¶
- func Mount(mux *http.ServeMux, api *API)
- type API
- func (s *API) UserCheckPermission(ctx context.Context, kthID, system string, permission string) (bool, error)
- func (s *API) UserGetPermissions(ctx context.Context, kthID, system string) ([]Permission, error)
- func (s *API) UserGetScopes(ctx context.Context, kthID, system string, permission string) ([]string, error)
- type Permission
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) UserCheckPermission ¶
func (*API) UserGetPermissions ¶
type Permission ¶
Click to show internal directories.
Click to hide internal directories.