repository

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2020 License: MIT Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL