Versions in this module Expand all Collapse all v0 v0.1.2 Aug 13, 2022 v0.1.1 Jan 1, 2021 Changes in this version type Mapping + HideInIndex bool v0.1.0 Jan 1, 2021 Changes in this version + const MetaTemplateLine + func Handler(args Args) http.HandlerFunc + func IndexHandler(args Args) http.HandlerFunc + type Args struct + Config Config + NoIndex bool + type Config struct + Mappings []Mapping + Prefix string + type Mapping struct + Description string + Path string + URL string + VCS VCS + type PageTmplData struct + Path string + Prefix string + Reqpath string + URL string + VCS VCS + type Templater interface + Execute func(io.Writer, interface{}) error + var IndexTmpl Templater = template.Must(template.New("index").Parse(...)) + var PageTmpl Templater = template.Must(template.New("vanity").Parse(...)) + type VCS string + const DefaultVCS + func (v *VCS) UnmarshalText(text []byte) error + func (v VCS) MarshalText() (text []byte, err error) + func (v VCS) String() string