Versions in this module Expand all Collapse all v2 v2.0.2 Jul 16, 2018 v2.0.1 Jun 29, 2018 Changes in this version + type Middleware func(ctx *fasthttp.RequestCtx) (int, error) + type View func(ctx *fasthttp.RequestCtx) error v2.0.0 Jun 25, 2018 Changes in this version + func B2S(b []byte) string + func HttpResponse(ctx *fasthttp.RequestCtx, response []byte, statusCode ...int) error + func JsonResponse(ctx *fasthttp.RequestCtx, response interface{}, statusCode ...int) error + type Atreugo struct + func New(cfg *Config) *Atreugo + func (s *Atreugo) ListenAndServe() error + func (s *Atreugo) Path(httpMethod string, url string, viewFn view) + func (s *Atreugo) Static(rootStaticDirPath string) + func (s *Atreugo) UseMiddleware(fns ...middleware) + type Config struct + CertFile string + CertKey string + Compress bool + GracefulEnable bool + Host string + LogLevel string + Port int + TLSEnable bool + type Json map[string]interface Other modules containing this package gopkg.in/savsgio/atreugo.v1 gopkg.in/savsgio/atreugo.v3 gopkg.in/savsgio/atreugo.v4 gopkg.in/savsgio/atreugo.v5