Documentation
¶
Index ¶
- func HTTPError(w http.ResponseWriter, errString string, code int)
- func HandleBasicAuth(w http.ResponseWriter, r *http.Request) (string, error)
- func HandleError(w http.ResponseWriter, err error, statusCode int)
- func ReadRequest(w http.ResponseWriter, r *http.Request, requestStruct any) error
- func Start(opt *option.Server) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleBasicAuth ¶
func HandleError ¶
func HandleError(w http.ResponseWriter, err error, statusCode int)
func ReadRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.