Documentation
¶
Overview ¶
This contains all the utility functions necesssary.
This is done to remove recursive imports mainly.
Index ¶
- func GenerateRandomString(len int) string
- func GetData(conn net.Conn) string
- func GetString(input []string) string
- func GetStringAndAppend(arr []string, data []string) []string
- func GetStringArr(input []string, decider int) []string
- func RandomInt(min, max int) int
- func RenderPage(w http.ResponseWriter, pageName string)
- func SendData(conn net.Conn, message []string)
- type RoomData
- type UserData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomString ¶
func GetStringAndAppend ¶
func GetStringArr ¶
func RenderPage ¶
func RenderPage(w http.ResponseWriter, pageName string)
Types ¶
Click to show internal directories.
Click to hide internal directories.