statistics

package
v0.0.0-...-ba8c1e6 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// GetDashboard returns stuffs for displaying animekai dashboard.
	GetDashboard(ctx context.Context, req *api.GetDashboardRequest) (*api.GetDashboardResponse, error)
	// ListWorks returns watching/watched works according to req.
	ListWorks(ctx context.Context, req *api.ListWorksRequest) (*api.ListWorksResponse, error)
}

Service provides animekai statistics.

func New

func New(annict annict.Service) Service

New instantiates a new Service.

Jump to

Keyboard shortcuts

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