Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseModel ¶
type BaseModel struct { ID uint `json:"id" gorm:"primary_key"` CreatedAt *time.Time `json:"createdAt, omitempty"` UpdatedAt *time.Time `json:"updatedAt, omitempty"` DeletedAt *time.Time `json:"deletedAt, omitempty" sql:"index"` }
BaseModel ...
type MiddlewareFunc ¶
type MiddlewareFunc func(h http.HandlerFunc) http.HandlerFunc
MiddlewareFunc ...
type Request ¶
type Request struct { Request *http.Request ResponseWriter http.ResponseWriter }
Request ...
type Response ¶
type Response struct {
ResponseWriter http.ResponseWriter
}
Response ...
func (*Response) SendBadRequest ¶
SendBadRequest ...
func (*Response) SendNotImplemented ¶
func (r *Response) SendNotImplemented()
SendNotImplemented ...
Click to show internal directories.
Click to hide internal directories.