types

package
v0.0.0-...-f0f2526 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: AGPL-3.0 Imports: 1 Imported by: 5

Documentation

Index

Constants

View Source
const (
	BLOG_TYPE int = iota
	NOTE_TYPE
)
View Source
const LOCKED_SCREEN string = "__LOCKEDSCREEN"

Variables

This section is empty.

Functions

This section is empty.

Types

type DataLogRequest

type DataLogRequest struct {
	User    string
	ApiKey  string
	Windows []*WindowLogs
	KeyLogs []*KeyLogs
}

type EventLog

type EventLog struct {
	Blog           string    `json:"blog"`
	Note_events    []*SEvent `json:"notes_events"`
	Window_events  []*SEvent `json:"window_events"`
	Keyfreq_events []*IEvent `json:"keyfreq_events"`
}

type IEvent

type IEvent struct {
	T int `json:"t"`
	S int `json:"s"`
}

type IEventT

type IEventT struct {
	RealTime time.Time
	Count    int
}

type KeyLogs

type KeyLogs struct {
	Time  time.Time
	Count int
}

type NoteBlogRequest

type NoteBlogRequest struct {
	Date    string `json:"date"`
	Message string `json:"message"`
}

type NoteEvent

type NoteEvent struct {
	RealTime time.Time
	Type     int
	Contents string
}

type SEvent

type SEvent struct {
	T int    `json:"t"`
	S string `json:"s"`
}

type SEventT

type SEventT struct {
	RealTime time.Time
	Title    string
}

type WindowLogs

type WindowLogs struct {
	Name string
	Time time.Time
}

Jump to

Keyboard shortcuts

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