package
0.0.0-20220420091620-9a109683b971
Repository: https://github.com/dan-drl/framework.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package httprouter is a trie based high performance HTTP request router.

# Functions

BasicAuth register api with basic auth.
No description provided by the author
No description provided by the author
No description provided by the author
GetFlash get flash value.
No description provided by the author
No description provided by the author
GetSession return session by session key.
No description provided by the author
HandleAPIFunc register api handler to specify pattern.
HandleAPIMethod register api handler.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetFlash set flash value.
SetSession set session by session key and session value.
StartAPI will start listen and act as the API server.

# Constants

DELETE is http delete method.
GET is http get method.
HEAD is http head method.
No description provided by the author
ADMIN.
GUEST.
POST
POST is http post method.
PUT is http put method.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Handler is the object of http handler.
Result is a general json result.

# Type aliases

Method is object of http method.