violetear

package
v0.0.0-...-e2b9e53 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Versions []string
	Hosts    []Host
	Routes   map[string][]Route
}

func GetConfig

func GetConfig(file string) Config

type Host

type Host struct {
	Host, Vroot string
}

type Route

type Route struct {
	URL, Handler string
	Methods      []string
}

Jump to

Keyboard shortcuts

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