pub

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(ch chan bool, app gof.App, addr string)

Types

type ImageFileHandler

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

图片处理

func NewImageFileHandler

func NewImageFileHandler(a gof.App) *ImageFileHandler

func (*ImageFileHandler) ServeHTTP

func (i *ImageFileHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type StaticHandler

type StaticHandler struct {
}

静态文件

func (*StaticHandler) ServeHTTP

func (s *StaticHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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