cast

package
v0.0.0-...-89def8d Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketFromPb

func BucketFromPb(bucket *pb.Bucket) (buckets.Bucket, error)

func BucketToPb

func BucketToPb(bucket *buckets.Bucket) *pb.Bucket

func InfoFromPb

func InfoFromPb(info []byte) (map[string]interface{}, error)

func InfoToPb

func InfoToPb(info map[string]interface{}) ([]byte, error)

func ItemToPb

func ItemToPb(item *buckets.PathItem) *pb.PathItem

func LinksFromPb

func LinksFromPb(links *pb.Links) buckets.Links

func LinksToPb

func LinksToPb(links buckets.Links) *pb.Links

func MetadataFromPb

func MetadataFromPb(md *pb.Metadata) collection.Metadata

func MetadataToPb

func MetadataToPb(md collection.Metadata) *pb.Metadata

func RolesFromPb

func RolesFromPb(roles map[string]pb.PathAccessRole) map[did.DID]collection.Role

func RolesToPb

func RolesToPb(roles map[did.DID]collection.Role) map[string]pb.PathAccessRole

Types

This section is empty.

Jump to

Keyboard shortcuts

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