Documentation ¶
Overview ¶
utils is a package containing tools related to access controllers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶ added in v1.0.0
func Create(ctx context.Context, db iface.BaseOrbitDB, controllerType string, params accesscontroller.ManifestParams, options ...accesscontroller.Option) (cid.Cid, error)
Create Creates a new access controller and returns the manifest CID
func EnsureAddress ¶
EnsureAddress Checks that an access controller address is properly formatted appends "/_access" if required
func Resolve ¶ added in v1.0.0
func Resolve(ctx context.Context, db iface.BaseOrbitDB, manifestAddress string, params accesscontroller.ManifestParams, options ...accesscontroller.Option) (accesscontroller.Interface, error)
Resolve Resolves an access controller using its manifest address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.