Versions in this module Expand all Collapse all v0 v0.1.1 Jul 27, 2021 v0.1.0 Feb 25, 2021 Changes in this version + func ConfigDecoderOptions(config *mapstructure.DecoderConfig) + func ErrToStatus(err error) int + func JSONErrResponse(w http.ResponseWriter, err error, statusCode int) + func JSONResponse(w http.ResponseWriter, v interface{}, statusCode int) + type Config struct + HTTP struct{ ... } + LogLevel log.Level + type Server struct + func NewServer(config Config) *Server + func (s *Server) Start() error + func (s *Server) Stop() error