controllers

package
v0.0.0-...-39cf1df Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2015 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	USER_SUFFIX      = "@user"
	QUN_SUFFIX       = "@qun"
	APP_SUFFIX       = "@app"
	SOURCE_TYPE_USER = 1
	SOURCE_TYPE_QUN  = 2
	SOURCE_TYPE_APP  = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HomeController

type HomeController struct {
	beego.Controller
}

func (*HomeController) Get

func (this *HomeController) Get()

type HuaLaoController

type HuaLaoController struct {
	beego.Controller
}

func (*HuaLaoController) Get

func (this *HuaLaoController) Get()

func (*HuaLaoController) GetUserFriend

func (this *HuaLaoController) GetUserFriend()

获取好友信息列表

func (*HuaLaoController) GetUserQuns

func (this *HuaLaoController) GetUserQuns()

func (*HuaLaoController) Post

func (this *HuaLaoController) Post()

type MsgController

type MsgController struct {
	beego.Controller
}

func (*MsgController) Get

func (this *MsgController) Get()

func (*MsgController) GetUserHistoryMsg

func (this *MsgController) GetUserHistoryMsg()

获取用户聊天记录

func (*MsgController) Post

func (this *MsgController) Post()

type Result

type Result struct {
	Success bool
	Msg     string
	Data    interface{}
}

type UserController

type UserController struct {
	beego.Controller
}

user控制器

func (*UserController) DoRegister

func (this *UserController) DoRegister()

func (*UserController) Get

func (this *UserController) Get()

func (*UserController) Logout

func (this *UserController) Logout()

func (*UserController) Post

func (this *UserController) Post()

func (*UserController) Register

func (this *UserController) Register()

Jump to

Keyboard shortcuts

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