media

package
v0.9.29 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ref

type Ref interface {
	Get(context.Context) (*Value, error)
}

func Get

func Get(ctx context.Context, ref Ref) Ref

type Value

type Value struct {
	MIMEType string
	Input    flu.Input
}

type Var

type Var chan varItem

func NewVar

func NewVar() Var

func (Var) Get

func (v Var) Get(ctx context.Context) (*Value, error)

func (Var) Set

func (v Var) Set(header *Value, err error)

Jump to

Keyboard shortcuts

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