gateway

package
v0.0.0-...-01c881c Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: GPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderDiffs

func RenderDiffs(w io.Writer, path string, nd base.Node, diffs []fsdiff.FileDiff) error

func RenderHistory

func RenderHistory(w io.Writer, path string, nd base.Node, hist []base.HistoryEntry) error

func RenderIndex

func RenderIndex(w io.Writer, path string, nd base.Node) error

Types

type Server

type Server struct {
	Factory wnfs.Factory
}

func (*Server) HandleDiff

func (s *Server) HandleDiff(e echo.Context) error

func (*Server) HandleHistory

func (s *Server) HandleHistory(e echo.Context) error

func (*Server) HandleIndex

func (s *Server) HandleIndex(e echo.Context) error

func (*Server) Serve

func (s *Server) Serve(addr string) error

Jump to

Keyboard shortcuts

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