files

package
v0.0.0-...-95de4b9 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRouting

func ConfigureRouting(e *echo.Echo)

func ToMediaUrl

func ToMediaUrl(aliasedPath string) string

func ToSlideUrl

func ToSlideUrl(aliasedPath string) string

func ToThumbUrl

func ToThumbUrl(aliasedPath string) string

Types

type FileBuffer

type FileBuffer struct {
	Buffer bytes.Buffer
	Index  int64
}

func NewFileBuffer

func NewFileBuffer() FileBuffer

func (*FileBuffer) Bytes

func (fbuffer *FileBuffer) Bytes() []byte

func (*FileBuffer) Read

func (fbuffer *FileBuffer) Read(p []byte) (int, error)

func (*FileBuffer) Seek

func (fbuffer *FileBuffer) Seek(offset int64, whence int) (int64, error)

func (*FileBuffer) Write

func (fbuffer *FileBuffer) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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