kata

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 14 Imported by: 0

README

kata

自用单机web应用框架

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msgs ...interface{})

func Error

func Error(msgs ...interface{})

func Info

func Info(msgs ...interface{})

func NewServer

func NewServer(port int) (*server, error)

func Register

func Register(pattern string, handleFunc interface{})

func RegisterController

func RegisterController(prefix string, ctrls ...interface{})

func RegisterStatic

func RegisterStatic(prefix, staticPath string)

func RegisterUpload

func RegisterUpload(pattern, filename, savePath string)

func RegisterUploadWithFunc

func RegisterUploadWithFunc(pattern, filename string, handleFunc interface{})

func Warn

func Warn(msgs ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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