Documentation ¶
Overview ¶
Package app for pkid app
Package app for pkid app ¶
Package app for pkid app ¶
Package app for c4s backend app
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapFunc ¶
func WrapFunc(a Handler) http.HandlerFunc
WrapFunc is a helper wrapper to make implementing handlers easier
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App for all dependencies of backend server
type Response ¶
type Response interface { Status() int Err() error // header getter Header() http.Header // header setter WithHeader(k, v string) Response }
Response interface
type ResponseMsg ¶
type ResponseMsg struct { Message string `json:"msg"` Data interface{} `json:"data,omitempty"` }
ResponseMsg holds messages and needed data
Click to show internal directories.
Click to hide internal directories.