Versions in this module Expand all Collapse all v0 v0.1.1 Oct 8, 2015 v0.1.0 Oct 7, 2015 Changes in this version + type User struct + RecvMsg <-chan string + SendMsg chan<- string + func NewUser(sessionId int, name string, recv <-chan string, send chan<- string, ...) *User + func (u *User) EnterService(service string) + func (u *User) GetHP() int + func (u *User) Kick(reason string) + func (u *User) LeaveAllService() + func (u *User) LeaveService(service string) + func (u *User) Login() + func (u *User) Logout(reason string) + func (u *User) Name() string + func (u *User) Send(msg []byte) + func (u *User) SessionId() int + func (u *User) SetHP(hp int) + func (u *User) Tick()