handler

package
v0.0.0-...-908d554 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

func Login

func Login(w http.ResponseWriter, r *http.Request)

Login 登录入口

func Logout

func Logout(w http.ResponseWriter, r *http.Request)

Logout 退出登录

func TestSession

func TestSession(w http.ResponseWriter, r *http.Request)

Types

type Error

type Error struct {
	Code   string `json:"code"`
	Detail string `json:"detail"`
}

Error 错误结构体

Jump to

Keyboard shortcuts

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