Documentation
¶
Index ¶
- Constants
- Variables
- func IsLetter(c rune) bool
- func IsLowerCaseLetter(c rune) bool
- func IsNumber(c rune) bool
- func IsSpace(c rune) bool
- func IsSpecialCharacter(c rune) bool
- func IsUnderscore(c rune) bool
- func IsUpperCaseLetter(c rune) bool
- func IsWhiteSpace(c rune) bool
- func ParseHTTPRequest[T any](req *http.Request) (T, error)
- func RandString(n int) string
- func WriteHTTPResponseJSON(w http.ResponseWriter, code int, obj any) error
Constants ¶
View Source
const ( ContentTypeApplicationJSON = "application/json" ContentTypeXWWWFormUrlEncoded = "application/x-www-form-urlencoded" )
Variables ¶
View Source
var (
ErrHTTPBadRequest = errors.New("")
)
Functions ¶
func IsLowerCaseLetter ¶
func IsSpecialCharacter ¶
func IsUnderscore ¶
func IsUpperCaseLetter ¶
func IsWhiteSpace ¶
func RandString ¶
func WriteHTTPResponseJSON ¶
func WriteHTTPResponseJSON(w http.ResponseWriter, code int, obj any) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.