Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestHistoryRepo ¶
func GetRequestHistoryRepo() *requestHistoryRepository
func GetShortLinkRepo ¶
func GetShortLinkRepo() *shortLinkRepository
func GetUserRepo ¶
func GetUserRepo() *userRepository
Types ¶
type RequestHistoryListResult ¶
type RequestHistoryListResult struct { Histories []*models.RequestHistory `json:"histories"` Total int `json:"total"` }
func NewEmptyRequestHistoryResult ¶
func NewEmptyRequestHistoryResult() *RequestHistoryListResult
func (*RequestHistoryListResult) AddHistory ¶
func (r *RequestHistoryListResult) AddHistory(h ...*models.RequestHistory)
Click to show internal directories.
Click to hide internal directories.