admin

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStatsResp

type GetStatsResp struct {
	VodCount     int `json:"vod_count"`
	ChannelCount int `json:"channel_count"`
}

type Service

type Service struct {
	Store *database.Database
}

func NewService

func NewService(store *database.Database) *Service

func (*Service) GetStats

func (s *Service) GetStats(c echo.Context) (GetStatsResp, error)

Jump to

Keyboard shortcuts

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