Versions in this module Expand all Collapse all v1 v1.0.1 Dec 7, 2019 v1.0.0 Nov 29, 2019 Changes in this version + const BadRequest + const DefaultIV + const InternalServerError + const LogErrBase + const LogOutBase + const PrefixDebugOut + const PrefixErr + const PrefixOut + const PrefixUncatchableErr + const PrefixWarn + type Helper struct + CallerName string + Request *http.Request + RespW http.ResponseWriter + func MakeHelper(callerName string, r http.ResponseWriter, request *http.Request) *Helper + func (r *Helper) BaseInfo(em string, statusCode int64) responseobjs.BaseInfo + func (r *Helper) DebugOut(s string, a ...interface{}) + func (r *Helper) Err(msg string, err error) + func (r *Helper) ErrRespond(msg string, err error, response string) + func (r *Helper) Fatal(msg string, err error) + func (r *Helper) GetCallingPlayer() (netobj.Player, error) + func (r *Helper) GetGameRequest() []byte + func (r *Helper) InternalErr(msg string, err error) + func (r *Helper) InternalFatal(msg string, err error) + func (r *Helper) InvalidRequest() + func (r *Helper) Out(s string, a ...interface{}) + func (r *Helper) Respond(out []byte) + func (r *Helper) RespondInsecure(out []byte) + func (r *Helper) RespondRaw(out []byte, secureFlag, iv string) + func (r *Helper) SendInsecureResponse(i interface{}) error + func (r *Helper) SendResponse(i interface{}) error + func (r *Helper) Uncatchable(msg string) + func (r *Helper) Warn(s string, a ...interface{}) + func (r *Helper) WarnErr(msg string, err error)