Versions in this module Expand all Collapse all v0 v0.0.2 Sep 19, 2018 v0.0.1 Aug 5, 2018 Changes in this version + func Asset(name string) ([]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func AuthMiddleware(h fasthttp.RequestHandler) fasthttp.RequestHandler + func FormatRequest(r *http.Request) string + func GetFileSuffix(path string) string + func InitRouter() *fasthttprouter.Router + func InitServer(addr string) + func MustAsset(name string) []byte + func NotFoundHandler(ctx *fasthttp.RequestCtx) + func PathExist(_path string) bool + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type GracefulListener struct + func (ln *GracefulListener) Accept() (net.Conn, error) + func (ln *GracefulListener) Addr() net.Addr + func (ln *GracefulListener) Close() error + type TestServer struct + Conn *net.Conn + func GetTestServer() *TestServer + func (serv *TestServer) SendRequest(req *http.Request) (resp fasthttp.Response)