Back to godoc.org

Package content

v0.0.0-...-2a599bc
Latest Go to latest

The highest tagged major version is .

Published: Sep 16, 2020 | License: Apache-2.0 | Module: github.com/criticalstack/quake-kube

Index

func CopyAssets

func CopyAssets(u *url.URL, dir string) error

func NewRouter

func NewRouter(cfg *Config) (*echo.Echo, error)

type Config

type Config struct {
	AssetsDir string
}

type File

type File struct {
	Name       string `json:"name"`
	Compressed int64  `json:"compressed"`
	Checksum   uint32 `json:"checksum"`
}

type Map

type Map struct {
	File string `json:"file"`
	Name string `json:"name"`
}

type MapPack

type MapPack struct {
	*os.File
	*zip.Reader
	// contains filtered or unexported fields
}

func OpenMapPack

func OpenMapPack(path string) (*MapPack, error)

func (*MapPack) Maps

func (m *MapPack) Maps() ([]*Map, error)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier