Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFizzRouter ¶
Types ¶
type ErrorMessage ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error,omitempty"`
}
type ExtJson ¶
type ExtJson struct { Data interface{} Indent bool }
func (ExtJson) Render ¶
func (r ExtJson) Render(w http.ResponseWriter) (err error)
Render (JSON) writes data with custom ContentType.
func (ExtJson) WriteContentType ¶
func (r ExtJson) WriteContentType(w http.ResponseWriter)
writeContentType (JSON) writes JSON ContentType.
type HttpConfig ¶
type PingResponse ¶
Click to show internal directories.
Click to hide internal directories.