Documentation ¶
Overview ¶
https://gowebexamples.com/websockets/ https://flaviocopes.com/go-date-time-format/ https://gowebexamples.com/json/ https://www.sohamkamani.com/blog/2017/10/18/parsing-json-in-golang/ https://stackoverflow.com/questions/14289256/cannot-convert-data-type-interface-to-type-string-need-type-assertion https://stackoverflow.com/questions/37011799/how-to-pass-a-child-struct-into-a-function-accepting-parent-struct
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WSEndpoint ¶
func WSEndpoint(w http.ResponseWriter, r *http.Request)
=============================================== Web Server
Types ¶
type Gun ¶
type Gun []map[string]interface{}
https://forum.golangbridge.org/t/solved-map-string-interface-best-practice/5457
type GunI ¶
type GunI interface { Get() Map() Put() Once() ToJSON() Test() string // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.