Versions in this module Expand all Collapse all v0 v0.1.0 Oct 25, 2016 Changes in this version + func CORS(w http.ResponseWriter, r *http.Request, ps httprouter.Params, c *Config) + func GetLink(w http.ResponseWriter, r *http.Request, ps httprouter.Params, c *Config) + func GetRandom(w http.ResponseWriter, r *http.Request, ps httprouter.Params, c *Config) + func InjectConfig(c *Config, ...) func(http.ResponseWriter, *http.Request, httprouter.Params) + func NewRouter(config *Config) *httprouter.Router + func PostLink(w http.ResponseWriter, r *http.Request, ps httprouter.Params, c *Config) + type Config struct + ImageMaxHeight int + ImageMaxWidth int + ImageStore images.Store + LinkStore links.Store + RootPath string + Template *template.Template + type PostLinkInput struct + Link links.Link + type PostLinkOutput struct + Slug string