Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IApiSession ¶
type IApiSession interface { SetJwtBody(jwtBody map[string]interface{}) JwtBody() map[string]interface{} SetUserId(userId uint64) UserId() uint64 SetJwtHeaderName(headerName string) JwtHeaderName() string ScanParams(dest interface{}) AddDefer(defer_ func()) Defers() []func() SetData(key string, data interface{}) Data(key string) interface{} WriteJson(data interface{}) error SetHeader(key string, value string) WriteText(text string) error SetStatusCode(code StatusCode) Path() string Body() io.ReadCloser Method() string Header(name string) string RemoteAddress() string UrlParams() map[string]string FormValues() (map[string][]string, error) ReadJSON(jsonObject interface{}) error Api() _interface.IApi SetApi(api _interface.IApi) ResponseWriter() http.ResponseWriter SetResponseWriter(w http.ResponseWriter) Request() *http.Request SetRequest(r *http.Request) Params() map[string]interface{} SetParams(params map[string]interface{}) OriginalParams() map[string]interface{} SetOriginalParams(originalParams map[string]interface{}) SetLang(lang string) Lang() string SetClientType(clientType string) ClientType() string Logger() go_logger.InterfaceLogger }
type StatusCode ¶
type StatusCode int
Click to show internal directories.
Click to hide internal directories.