Documentation ¶
Index ¶
- Variables
- func DisallowFileBrowsing(next http.Handler) http.Handler
- func InitConfig(conf dtos.AppConfig, newLogger *zap.Logger)
- func SendBasicInvalidResponse(w http.ResponseWriter, req *http.Request, msg string, statusCode int)
- func SetupCORS(w http.ResponseWriter, req *http.Request)
- func SetupRouter() *mux.Router
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TEXT = websocket.TextMessage PING_TIMEOUT_WAIT = 1800 * time.Millisecond )
View Source
var ( X_REAL_IP_HEADER = "X-Real-Ip" REMOTE_ADDR_HEADER = "RemoteAddr" )
Functions ¶
func SetupRouter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.