Documentation ¶
Index ¶
- type Favicon
- func (self *Favicon) Action(resp http.ResponseWriter, req *http.Request) (bool, error)
- func (self *Favicon) GetName() string
- func (v Favicon) MarshalEasyJSON(w *jwriter.Writer)
- func (v Favicon) MarshalJSON() ([]byte, error)
- func (v *Favicon) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Favicon) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Favicon ¶
type Favicon struct { Status int `json:"status"` // HTTP状态码 Target string `json:"target,omitempty"` // favicon.ico文件路径 }
func (Favicon) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Favicon) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Favicon) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Favicon) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.