utils

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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

func EnsureAddress(address string) string

EnsureAddress Checks that an access controller address is properly formatted appends "/_access" if required

func Resolve added in v1.0.0

Resolve Resolves an access controller using its manifest address

Types

This section is empty.

Jump to

Keyboard shortcuts

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