package
1.0.0
Repository: https://github.com/xybor/xychat.git
Documentation: pkg.go.dev

# Functions

GetUID gets UID from the context by ctx.Get() and convert it to *uint.
GetURLParamAsUint gets the param in URL by using ctx.Params.Get and converts it to uint (from string).
MustRetrieveQuery is equipvalent to RetrieveQuery and log.Panic if a error occurs.
RetrieveQuery bases on the method set by SetRetrievingMethod to get the query parameters in the suitable place.
RetrieveQueryAsPString retrieves the query parameter and converts it to *string.
RetrieveQueryAsPUint retrieves the query parameter and converts it to *uint (from string).
SetCookie is a shortcut of ctx.SetCookie with path, domain, secure, and httponly parameters are automatically filled.
SetRetrievingMethod sets the method for get query parameters in the http request.

# Constants

No description provided by the author
POST
No description provided by the author