serviceitems

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Id               int
	DateTime         time.Time
	ActivityName     string
	Description      string
	LevelAchievement int
	Levels           map[int]int
	Tags             []int
}

type EntryLevel

type EntryLevel struct {
	Id            int
	Name          string
	ShowByDefault bool
	ShortName     string
	Worst         string
	Previous      bool
	AddedAt       time.Time
}

type EntryLevelUpdate

type EntryLevelUpdate struct {
	Id            int
	Name          string
	ShowByDefault bool
	ShortName     string
	Worst         string
	Previous      bool
}

type EntryUpdate

type EntryUpdate struct {
	Activity         string
	Description      string
	DateTime         time.Time // Precision: minutes
	LevelAchievement int
	Levels           map[int]int
	Tags             []int
}

type Height

type Height struct {
	Height  float32
	AddedAt time.Time
	Id      int
}

type HeightAdd

type HeightAdd struct {
	Height float32
}

type ReoccurringTask

type ReoccurringTask struct {
	Id       int
	AddedAt  time.Time
	Title    string
	Duration time.Duration
}

type ReoccurringTaskUpdate

type ReoccurringTaskUpdate struct {
	Id       int
	Title    string
	Duration time.Duration
}

type Tag

type Tag struct {
	Id        int
	AddedAt   time.Time
	Name      string
	ShortName string // Machine-parsable name
}

type TagUpdate

type TagUpdate struct {
	Id        int
	Name      string
	ShortName string // Machine-parsable name
}

type Task

type Task struct {
	Id                         int
	AddedAt                    time.Time
	CompletedAt                *time.Time
	Priority                   int
	Title                      string
	Description                string
	ReoccurringTaskReferenceId *int
}

type TaskSearchOption

type TaskSearchOption uint8
const (
	Unknown TaskSearchOption = iota
	OngoingTasks
	CompletedTasks
)

type TaskUpdate

type TaskUpdate struct {
	Id                         int
	Priority                   int
	Title                      string
	Description                string
	ReoccurringTaskReferenceId *int
}

type TestMADRSAnswers

type TestMADRSAnswers struct {
	Answers []int
	Score   int
}

type Weight

type Weight struct {
	Weight  float32
	AddedAt time.Time
	Id      int
}

type WeightAdd

type WeightAdd struct {
	Weight float32
}

Jump to

Keyboard shortcuts

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