Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
Authentication is used to login
type Document ¶
type Document struct { Year int `json:"year"` Month int `json:"month"` Name string `json:"name"` DownloadPath string `json:"downloadPath"` Type string `json:"type"` Read bool `json:"read"` CreatedAt int64 `json:"createdAt"` }
Represents one salary statement
type DocumentResponse ¶
type DocumentResponse []struct { ID string `json:"id"` Employee string `json:"employee"` Employer string `json:"employer"` ActivationKey interface{} `json:"activationKey"` DocumentList []Document `json:"documents"` }
Contains general information about the employee & employer
type LGO ¶
type LGO struct {
// contains filtered or unexported fields
}
LGO represents the API of "Agenda: Lohn- und Gehaltsdokumente"
func (*LGO) FetchDocumentList ¶
Fetches the list of all available documents
func (*LGO) SaveDocument ¶
Saves the document in the specified out-path
type URPResponse ¶
type URPResponse struct {
URP string `json:"urp"`
}
URPResponse The response from "Agenda LGO" which contains the session-token
Click to show internal directories.
Click to hide internal directories.