routers

package
v0.0.0-...-83afde1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(conn *websocket.Conn, action string, data map[string]string)

func CleanLoginStatus

func CleanLoginStatus()

every is_login will be false

func InitRouter

func InitRouter() *gin.Engine

func Logout

func Logout(conn *websocket.Conn)

func Routes

func Routes(conn *websocket.Conn, p []byte)

Types

type Packet

type Packet struct {
	Type   string
	Action string
	Data   map[string]string
}

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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