Documentation ¶
Index ¶
- func FileUploadHandler(r *http.Request) (string, error)
- type ApiErr
- type ApiGenericRes
- type ApiServer
- func (s *ApiServer) HandleCreateUser(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) HandleDeleteUser(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) HandleGetAllUser(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) HandleGetUser(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) HandleUpdateUser(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) HandleUploadUserProfilePic(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) NotFound(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) PingHandler(w http.ResponseWriter, r *http.Request) error
- func (s *ApiServer) Run()
- type Msg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiGenericRes ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func (*ApiServer) HandleCreateUser ¶
func (*ApiServer) HandleDeleteUser ¶
func (*ApiServer) HandleGetAllUser ¶
func (*ApiServer) HandleGetUser ¶
func (*ApiServer) HandleUpdateUser ¶
func (*ApiServer) HandleUploadUserProfilePic ¶
func (*ApiServer) PingHandler ¶
ping
Click to show internal directories.
Click to hide internal directories.