internal

package
v0.0.0-...-dfdb652 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 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 BuildInfo

type BuildInfo struct {
	Version string `json:"version"`
	Ref     string `json:"ref"`
	Time    string `json:"time"`
}

func (*BuildInfo) Release

func (info *BuildInfo) Release() string

type ImageFormat

type ImageFormat int8
const (
	ImageFormatPNG ImageFormat = iota
	ImageFormatJPEG
)

func ParseImageType

func ParseImageType(v string) (ImageFormat, error)

func (ImageFormat) ContentType

func (it ImageFormat) ContentType() string

func (ImageFormat) Ext

func (it ImageFormat) Ext() string

func (ImageFormat) String

func (it ImageFormat) String() string

func (*ImageFormat) UnmarshalText

func (it *ImageFormat) UnmarshalText(text []byte) (err error)

Directories

Path Synopsis
api
web

Jump to

Keyboard shortcuts

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