Documentation
¶
Index ¶
Constants ¶
View Source
const TimeFormat string = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { ID int `json:"id,omitempty"` ShortKey string `json:"shortkey"` URL string `json:"url"` Creator string `json:"creator"` Team string `json:"team,omitempty"` CreatedAt string `json:"createdat,omitempty"` ModifiedAt string `json:"modifiedat,omitempty"` LastModifiedBy string `json:"lastmodifiedby,omitempty"` Locked int `json:"locked"` // we will have some entries that will require elevated privs to change }
#### Data structure: - short_key - key used in url for lookup - url - returned url correlated to the key - creator - creator of the k+v - created_at - date of creation - modified_at - date last modified - last_modified_by - user last modified key
Route is
func (*Route) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.