httpfs

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

type HttpServer struct {
	*echox.EchoServer
	// contains filtered or unexported fields
}

func NewHttpServer

func NewHttpServer(fs http.FileSystem) *HttpServer

func (*HttpServer) LoadTempletes

func (s *HttpServer) LoadTempletes(dir string) error

func (*HttpServer) Render

func (s *HttpServer) Render(w io.Writer, name string, data interface{}, c echo.Context) error

func (*HttpServer) Static

func (s *HttpServer) Static(path, dir string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL