utils

package
v1.23.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 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

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

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