package
1.0.33
Repository: https://github.com/eluv-io/common-go.git
Documentation: pkg.go.dev

# Functions

AsLink returns the given value as *Link if it is a link.
BuilderFrom creates a builder from (a shallow copy of) the given existing link.
ConvertLinks scans the target structure for links represented as a map with a single "/" key, and converts them to link objects.
FromString parses the given string and converts it to a Link.
IsLink returns true if val is a Link or *Link.
NewBlobBuilder creates a link builder that can be used to build a blob link: lnk, err := link.NewBlobBuilder().Data(data).Build() lnk, err := link.NewBlobBuilder().EncryptionScheme(encryption.ClientGen).Data(encryptedData).Build().
NewBlobLink creates a blob link from the given link.
NewBuilder creates a link builder that can be used to build a link: lnk, err := link.NewBuilder().Target(qhash).Selector(link.S.Meta).P("public", "name").Build().
NewLink creates a new Link.
ToLink tries to convert the given target object to a Link pointer.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

AutoUpdate is the structure for auto-update information.
No description provided by the author
No description provided by the author
No description provided by the author
Extra are additional link features.
Link represents a reference to another structure in the content object data model.

# Type aliases

No description provided by the author