imgserv

package
v0.0.0-...-1d6d57a Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(staticPath string) *Server

func (*Server) GetImage

func (s *Server) GetImage(w http.ResponseWriter, r *http.Request, param httprouter.Params)

func (*Server) Index

func (s *Server) Index(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func (*Server) POST

func (s *Server) POST(w http.ResponseWriter, r *http.Request, param httprouter.Params)

func (*Server) Run

func (s *Server) Run(port string)

Jump to

Keyboard shortcuts

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