blobstore

package
v0.0.0-...-689a9a2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Name     string
	MIMEType string
	Data     string
	// contains filtered or unexported fields
}

Item represents a blob from the database.

func GetItem

func GetItem(name string, fresh bool) (*Item, error)

GetItem fetches a blob item from the database or returns an error if one occurs. The most used 32 entries are cached in memory to reduce the pressure to the database.

Jump to

Keyboard shortcuts

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