usage

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 4 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 struct {
	UsageStorage mahi.UsageStorage
}

func (*Service) ApplicationUsages

func (s *Service) ApplicationUsages(ctx context.Context, applicationID string, startDate, endDate time.Time) ([]*mahi.Usage, error)

func (*Service) Update

func (s *Service) Update(ctx context.Context, u *mahi.UpdateUsage) error

func (*Service) Usages

func (s *Service) Usages(ctx context.Context, startDate, endDate time.Time) ([]*mahi.TotalUsage, error)

Jump to

Keyboard shortcuts

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