Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind contains Project kind name for DataStore. Kind = taxonomy.DataStoreKindProject )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Entity ¶
type Entity struct { Name string `datastore:"name" json:"name"` // DataStore Key ID URL string `datastore:"url" json:"url"` Method string `datastore:"method,noindex" json:"method"` JSON string `datastore:"json" json:"json"` Schedule int `datastore:"schedule" json:"schedule"` // seconds }
Entity describes Datastore project entity.
func (Entity) GetScheduleDuration ¶
GetScheduleDuration gets schedule value as time.Duration.
Click to show internal directories.
Click to hide internal directories.