content

package
v0.0.0-...-58747f4 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File string

func (File) Content

func (f File) Content(ctx context.Context) ([]byte, error)

func (File) String

func (f File) String() string

type Func

type Func func(ctx context.Context) ([]byte, error)

func (Func) Content

func (f Func) Content(ctx context.Context) ([]byte, error)

type HasContent

type HasContent interface {
	Content(ctx context.Context) ([]byte, error)
}

type Static

type Static []byte

func (Static) Content

func (s Static) Content(ctx context.Context) ([]byte, error)

Jump to

Keyboard shortcuts

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