Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAuthen ¶
func CreateAuthen(w http.ResponseWriter, c *Context, authen *Authen)
func ListAuthen ¶
func ListAuthen(w http.ResponseWriter, c *Context)
Types ¶
type Context ¶
func NewContext ¶
func (*Context) RenderError ¶
func (c *Context) RenderError(w http.ResponseWriter, msg string, err error)
func (*Context) RenderJSON ¶
func (c *Context) RenderJSON(w http.ResponseWriter, msg interface{})
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) CreateTable ¶
func (*DB) ListAllAuthen ¶
Click to show internal directories.
Click to hide internal directories.