Documentation ¶
Index ¶
- type AcoServer
- func (s *AcoServer) GetRouteAcoIndex(routeList []Route, count ...int) []int
- func (s *AcoServer) GetRouteScore(time int64) map[string]int64
- func (s *AcoServer) OnDownloadEnd(route Route)
- func (s *AcoServer) OnDownloadFinish(route Route, downloadDetail *DownloadDetail)
- func (s *AcoServer) OnDownloadStart(route Route)
- type DownloadDetail
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcoServer ¶
type AcoServer struct {
// contains filtered or unexported fields
}
func NewAcoServer ¶
func NewAcoServer() *AcoServer
func (*AcoServer) GetRouteAcoIndex ¶
func (*AcoServer) OnDownloadEnd ¶
func (*AcoServer) OnDownloadFinish ¶
func (s *AcoServer) OnDownloadFinish(route Route, downloadDetail *DownloadDetail)
func (*AcoServer) OnDownloadStart ¶
type DownloadDetail ¶
Click to show internal directories.
Click to hide internal directories.