cmd

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RECORD_VERSION = 2
	EXISTING_FILE  = ".existing"
)
View Source
const DEF_DAYS = 28
View Source
const DEF_HOURS = 7

Variables

This section is empty.

Functions

func ClientCommand

func ClientCommand() cli.Command

func ServerCommand

func ServerCommand() cli.Command

Types

type Collection

type Collection struct {
	Type         string      `json:"type"`
	ResourceType string      `json:"resourceType"`
	Data         interface{} `json:"data"`
}

type InstallCounts

type InstallCounts struct {
	Total  int64 `json:"total"`
	Alive  int64 `json:"alive"`
	Active int64 `json:"active"`
	Born   int64 `json:"born"`
	Died   int64 `json:"died"`
}

type InstallsByDay

type InstallsByDay map[string]*InstallCounts

type RequestOpts

type RequestOpts struct {
	Hours  int
	Days   int
	Uid    string
	Fields []string
	Field  string
}

type RequiredOptions

type RequiredOptions []string

func (*RequiredOptions) Contains

func (r *RequiredOptions) Contains(needle string) bool

Jump to

Keyboard shortcuts

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