usage

package
v0.0.0-...-bd0efcb Latest Latest
Warning

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

Go to latest
Published: Dec 14, 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 baas.UsageStorage
}

func (*Service) ApplicationUsages

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

func (*Service) Update

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

func (*Service) Usages

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

Jump to

Keyboard shortcuts

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