server

package
v0.0.0-...-22b7ebe Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 6 Imported by: 1

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 New

func New() *Server

func (*Server) Handle

func (s *Server) Handle(pattern, method string, h ruffe.Handler)

func (*Server) HandleFunc

func (s *Server) HandleFunc(pattern, method string, h func(ruffe.Context) error)

func (*Server) ListenAndServe

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

func (*Server) RecoverPanic

func (s *Server) RecoverPanic()

func (*Server) UseAccessLog

func (s *Server) UseAccessLog() log.Logger

Jump to

Keyboard shortcuts

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