Documentation ¶
Overview ¶
Package api has utility functions to use with request handlers..
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSubLink ¶
GenerateSubLink generates next and prev links for response's Link header.
func WriteResponseJSON ¶
WriteResponseJSON writes a JSON encoded http response.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package account handles account requests.
|
Package account handles account requests. |
Package contexts "Every package should have a package comment, a block comment preceding the package clause.
|
Package contexts "Every package should have a package comment, a block comment preceding the package clause. |
Package demand updates and returns a demand.
|
Package demand updates and returns a demand. |
Package demands "Every package should have a package comment, a block comment preceding the package clause.
|
Package demands "Every package should have a package comment, a block comment preceding the package clause. |
Package languages posts a page, deletes and gets pages.
|
Package languages posts a page, deletes and gets pages. |
Package offer updates and returns a offer.
|
Package offer updates and returns a offer. |
Package offers "Every package should have a package comment, a block comment preceding the package clause.
|
Package offers "Every package should have a package comment, a block comment preceding the package clause. |
Package page gets, deletes and modifies a page.
|
Package page gets, deletes and modifies a page. |
Package pages posts a page, deletes and gets pages.
|
Package pages posts a page, deletes and gets pages. |
Package photos "Every package should have a package comment, a block comment preceding the package clause.
|
Package photos "Every package should have a package comment, a block comment preceding the package clause. |
Package role deletes a role by the given id as encoded datastore key.
|
Package role deletes a role by the given id as encoded datastore key. |
Package roleType deletes a roleType by the given id as datastore key's stringID.
|
Package roleType deletes a roleType by the given id as datastore key's stringID. |
Package roleTypes posts a roleType and also gets all roleTypes.
|
Package roleTypes posts a roleType and also gets all roleTypes. |
Package roles posts a role and also gets all roles.
|
Package roles posts a role and also gets all roles. |
Package rolesUser "Every package should have a package comment, a block comment preceding the package clause.
|
Package rolesUser "Every package should have a package comment, a block comment preceding the package clause. |
Package servicePacks "Every package should have a package comment, a block comment preceding the package clause.
|
Package servicePacks "Every package should have a package comment, a block comment preceding the package clause. |
Package settingsAccount returns account struct.
|
Package settingsAccount returns account struct. |
Package signin returns the login url/urls.
|
Package signin returns the login url/urls. |
Package signout handles signout request.
|
Package signout handles signout request. |
Package tag deletes a tag by the given id as encoded datastore key.
|
Package tag deletes a tag by the given id as encoded datastore key. |
Package tags posts a tag and also gets all tags.
|
Package tags posts a tag and also gets all tags. |
Package tagsDemand "Every package should have a package comment, a block comment preceding the package clause.
|
Package tagsDemand "Every package should have a package comment, a block comment preceding the package clause. |
Package tagsUser "Every package should have a package comment, a block comment preceding the package clause.
|
Package tagsUser "Every package should have a package comment, a block comment preceding the package clause. |
Package timeline returns the logged user's timeline entities count.
|
Package timeline returns the logged user's timeline entities count. |
Package user deletes, updates and returns an user.
|
Package user deletes, updates and returns an user. |
Package users returns non logged and non deleted users of an account and saves an user with it's user roles and user tags.
|
Package users returns non logged and non deleted users of an account and saves an user with it's user roles and user tags. |
Click to show internal directories.
Click to hide internal directories.