service

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiamondService

type DiamondService struct {
	Repo repo.Repository
}

func Initialize

func Initialize(repo repo.Repository) DiamondService

func (DiamondService) GetStats

func (s DiamondService) GetStats(period string, when time.Time) (dtos.ReviewStatMap, error)

func (DiamondService) Ping

func (s DiamondService) Ping() (string, error)

func (DiamondService) RegisterReview

func (s DiamondService) RegisterReview(review dtos.Review) error

Jump to

Keyboard shortcuts

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