stat

package
v0.0.0-...-4eea697 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PatientsRepository

type PatientsRepository interface {
	StatPatientsCountGet(ctx context.Context, start, end int64) (uint64, error)
	StatDocumentsCountGet(ctx context.Context, start, end int64) (uint64, error)
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(repo PatientsRepository) *Service

func (*Service) GetDocumentsCount

func (s *Service) GetDocumentsCount(ctx context.Context, period string) (uint64, error)

func (*Service) GetPatientsCount

func (s *Service) GetPatientsCount(ctx context.Context, period string) (uint64, error)

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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