Versions in this module Expand all Collapse all v0 v0.3.0 Mar 4, 2019 Changes in this version + func EncodeResponse(rw http.ResponseWriter, statusCode int, data interface{}) error + func HandleErrorResponse(w http.ResponseWriter, err error) + type Handler func(ctx context.Context, rw http.ResponseWriter, req *http.Request) error + type HandlerSpec struct + HandlerFunc Handler + Method string + Path string + func NewHandlerSpec(method, path string, handler Handler) *HandlerSpec + type Server struct + Config *config.Config + func New(cfg *config.Config) (*Server, error) + func (s *Server) Start() error