Documentation ¶
Overview ¶
Package plog offers a simple mean to share pvr repos with others. Similar to a blog you post your pvr repo with a title, some description text and tags/sections.
Every Pantahub user gets a plog he can use at his discretion.
AccessControl is either private or public. More advanced ACL features will be available later or for users of organization accounts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Post ¶
type Post struct { ID primitive.ObjectID `json:"id" bson:"_id"` Owner string `json:"owner"` LastInSync time.Time `json:"last-insync" bson:"last-insync"` LastTouched time.Time `json:"last-touched" bson:"last-touched"` JSON map[string]interface{} `json:"json" bson:"json"` }
Post plog post payload
type PvrRemote ¶
type PvrRemote struct { RemoteSpec string `json:"pvr-spec"` // the pvr remote protocol spec available JSONGetURL string `json:"json-get-url"` // where to pvr post stuff JSONKey string `json:"json-key"` // what key is to use in post json [default: json] ObjectsEndpointURL string `json:"objects-endpoint"` // where to store/retrieve objects PostURL string `json:"post-url"` // where to post/announce new revisions PostFields []string `json:"post-fields"` // what fields require input PostFieldsOpt []string `json:"post-fields-opt"` // what optional fields are available [default: <empty>] }
PvrRemote remote PVR
Click to show internal directories.
Click to hide internal directories.