Documentation ¶
Index ¶
- Variables
- func Archive(c echo.Context) error
- func BackErr(err error, c echo.Context)
- func Bangumi(c echo.Context) error
- func BlogIndex(c echo.Context) error
- func BlogIndexAjax(c echo.Context) error
- func CommentPost(c echo.Context) error
- func CurlBGM(url string)
- func FrontErr(err error, c echo.Context)
- func Post(c echo.Context) error
- func QueryBGM(Db *sqlx.DB) string
- func QueryTime(Db *sqlx.DB) h3
- type AutoGenerated
- type AutoGenerated2
- type CommPost
- type TimelineData
- type TimelineTmpdata
Constants ¶
This section is empty.
Variables ¶
View Source
var Bgmcache = bgmCache{}
Functions ¶
func BlogIndexAjax ¶
func BlogIndexAjax(c echo.Context) error
func CommentPost ¶
func CommentPost(c echo.Context) error
Types ¶
type AutoGenerated ¶
type AutoGenerated []struct { Type int `json:"type"` Name string `json:"name"` NameCn string `json:"name_cn"` Collects AutoGenerated2 }
type AutoGenerated2 ¶
type AutoGenerated2 []struct { Status struct { ID int `json:"id"` Type string `json:"type"` Name string `json:"name"` } `json:"status"` Count int `json:"count"` List []struct { SubjectID int `json:"subject_id"` Subject struct { ID int `json:"id"` URL string `json:"url"` Type int `json:"type"` Name string `json:"name"` NameCn string `json:"name_cn"` Summary string `json:"summary"` AirDate string `json:"air_date"` AirWeekday int `json:"air_weekday"` Images struct { Large string `json:"large"` Common string `json:"common"` Medium string `json:"medium"` Small string `json:"small"` Grid string `json:"grid"` } `json:"images"` } `json:"subject"` } `json:"list"` }
type TimelineData ¶
type TimelineTmpdata ¶
Click to show internal directories.
Click to hide internal directories.