Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSEnabledFunction ¶
func CORSEnabledFunction(w http.ResponseWriter, r *http.Request)
func HandleErr ¶
func HandleErr(w http.ResponseWriter, err error)
Types ¶
type GopperService ¶
GopperService is an implementation of Gopper that will fall back to a git retriever if the file can't be found in
its data source
func NewGopper ¶
func NewGopper(cachelocation, fsType, tokenEnv string) (*GopperService, error)
NewGopper returns a GopperService for a config; This Gopper can use an os filesystem, memory filesystem or a gcs bucket
Click to show internal directories.
Click to hide internal directories.