sv_team

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorUnexpectedFormat = errors.New("unexpected response format")
)

Functions

This section is empty.

Types

type Report

type Report interface {
	Activity(span ReportSpan) (activity mo_team.Activity, err error)
	Devices(span ReportSpan) (devices mo_team.Devices, err error)
	Membership(span ReportSpan) (membership mo_team.Membership, err error)
	Storage(span ReportSpan) (storage mo_team.Storage, err error)
}

func NewReport

func NewReport(ctx dbx_context.Context) Report

type ReportSpan

type ReportSpan struct {
	StartDate string `json:"start_date,omitempty" url:"start_date"`
	EndDate   string `json:"end_date,omitempty" url:"end_date"`
}

func NewSpan

func NewSpan(startDate, endDate mo_time.TimeOptional) (span ReportSpan)

type Team

type Team interface {
	Info() (info *mo_team.Info, err error)
	Feature() (feature *mo_team.Feature, err error)
}

func New

func New(ctx dbx_context.Context) Team

Jump to

Keyboard shortcuts

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