chikurin

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2015 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const PID_FILE = "/tmp/chikurin.pid"
View Source
const TIMEOUT_SEC = 1

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig()

func Serve

func Serve()

func Start added in v0.2.0

func Start()

func Status added in v0.2.0

func Status() int

func Stop added in v0.2.0

func Stop()

func Version

func Version(version string) string

Types

type AssetFile

type AssetFile struct {
	*bytes.Reader
	os.FileInfo
}

func (*AssetFile) Close

func (f *AssetFile) Close() error

func (*AssetFile) Readdir

func (f *AssetFile) Readdir(count int) ([]os.FileInfo, error)

func (*AssetFile) Stat

func (f *AssetFile) Stat() (os.FileInfo, error)

type AssetFileSystem

type AssetFileSystem struct {
}

func (AssetFileSystem) Open

func (fs AssetFileSystem) Open(name string) (http.File, error)

Jump to

Keyboard shortcuts

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