Documentation ¶
Overview ¶
Package server defines rest api endpoints for pinger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountResponse ¶
type AccountResponse struct { ID string `json:"id"` Token string `json:"token"` CreatedTime time.Time `json:"time"` Name string `json:"name"` Email string `json:"email"` }
AccountResponse defines response after creating of account
type ErrorResponse ¶
ErrorResponse defines response after errors
type SiteResponse ¶
SiteResponse define response after creating of site
Click to show internal directories.
Click to hide internal directories.