Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ENV = defaults.String(os.Getenv("GO_ENV"), "development")
ENV is used to help switch settings based on where the application is being run. Default is "development".
Functions ¶
func App ¶
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.
func SocketHandler ¶
SocketHandler reads messages from the websocket connection buffer and returns the original message, formatted (uppercase) message, and received time in JSON
Types ¶
Click to show internal directories.
Click to hide internal directories.