Versions in this module Expand all Collapse all v0 v0.1.0 Nov 11, 2019 v0.0.4-alpha Nov 7, 2019 v0.0.3-alpha Nov 7, 2019 v0.0.2 Nov 7, 2019 Changes in this version + type BaseContext struct + type BaseController struct + func (controller *BaseController) AddValue(key string, value interface{}) + func (controller *BaseController) AfterAction(action string, response []byte) []byte + func (controller *BaseController) BeforeAction(action string) bool + func (controller *BaseController) GetContext() base.ContextInterface + func (controller *BaseController) GetValue(key string) interface{} + func (controller *BaseController) Init() + func (controller *BaseController) SetContext(context base.ContextInterface) + func (controller *BaseController) SetHttpValues(w http.ResponseWriter, r *http.Request) + func (controller *BaseController) SetValues(values map[string]interface{}) + type Context struct + func NewContext(session base.SessionInterface) *Context + func (model *Context) GetSession() base.SessionInterface + type HttpSession struct + func NewHttpSession(session *sessions.Session) *HttpSession + func (model *HttpSession) Destroy() + func (model *HttpSession) Get(key interface{}) interface{} + func (model *HttpSession) GetSessionId() string + func (model *HttpSession) Set(key interface{}, value interface{}) + type MessageModel struct + Data string + Id int64 + Route string + func (model *MessageModel) Validate() bool + type ResponseModel struct + Code int + Message string + Values map[string]interface{} type WebsocketSession + func (model *WebsocketSession) Destroy() + func (model *WebsocketSession) Get(key interface{}) interface{} + func (model *WebsocketSession) GetSessionId() string + func (model *WebsocketSession) Set(key interface{}, value interface{}) v0.0.0 Oct 3, 2019 Changes in this version + type BaseModel struct + type Config struct + ComponentDict map[string]base.ConfigComponentInterface + Params map[string]interface{} + func (config *Config) Init() + type Message struct + Data string + Id int64 + Route string + func (model *Message) Validate() bool + type Response struct + type WebsocketSession struct + func NewWebsocketSession(conn *websocket.Conn) *WebsocketSession + func (model *WebsocketSession) Close() error + func (model *WebsocketSession) GetSendMessage() []byte + func (model *WebsocketSession) RemoveAddr() net.Addr + func (model *WebsocketSession) Send(message []byte)