blob

package
v0.0.0-...-41221c5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset struct {
	// contains filtered or unexported fields
}

func From

func From(url *url.URL, data []byte) *Asset

func (*Asset) Data

func (a *Asset) Data() []byte

func (*Asset) Embeds

func (a *Asset) Embeds() []asset.Embed

func (*Asset) MediaType

func (a *Asset) MediaType() string

func (*Asset) Merge

func (a *Asset) Merge(b asset.Asset, r asset.Relation) bool

func (*Asset) References

func (a *Asset) References() []asset.Reference

func (*Asset) URL

func (a *Asset) URL() *url.URL

Jump to

Keyboard shortcuts

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