Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityData ¶
type ActivityData struct {
Project string `json:"project"`
GitRemote string `json:"git_remote"`
StartedAt string `json:"started_at"`
EndedAt string `json:"ended_at"`
Filename string `json:"filename"`
Filetype string `json:"filetype"`
LinesAdded int `json:"lines_added"`
LinesRemoved int `json:"lines_removed"`
GitBranch string `json:"git_branch"`
ActionsPerMinute float64 `json:"actions_per_minute"`
WordsPerMinute float64 `json:"words_per_minute"`
Editor string `json:"editor"`
}
type Request ¶
type Request struct {
Type string `json:"type"`
Data json.RawMessage `json:"data"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetSyncFunc ¶
Click to show internal directories.
Click to hide internal directories.