package guardian

  1. Overview
  2. Docs
type actor_role_set = ActorRoleSet.t
type actor_spec = Authorizer.Actor.spec
type auth_rule = Authorizer.auth_rule
type role = A.t
type target_role_set = TargetRoleSet.t
type target_spec = Authorizer.Target.spec
type !'a authorizable = 'a Authorizable.t
type !'b authorizable_target = 'b AuthorizableTarget.t
type ('rv, 'err) monad = ('rv, 'err) Lwt_result.t
module Actor : sig ... end
module Target : sig ... end
val find_migrations : unit -> (string * string * string) list
val find_clean : unit -> (string * string) list
val migrate : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clean : ?ctx:(string * string) list -> unit -> unit Lwt.t