Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { types.BaseAPI Config types.TwitterConfig LastCalled time.Time `json:"-"` // This is the object we get from the backend API - we could possible remove this and just have the ResponseObject DataObject TwitterResponse `json:"-"` // This is the object we are passing to the frontend - only need to rebuild it when its stale ResponseObject types.TwitterResponse `json:"-"` ValidCache bool }
API for twitter
func (*API) Configure ¶
func (a *API) Configure(message types.ClientMessage) error
Configure based on client message
type TwitterResponse ¶
func (*TwitterResponse) Transform ¶
func (o *TwitterResponse) Transform() interface{}
func (*TwitterResponse) Update ¶
func (o *TwitterResponse) Update(arguments interface{}) error
Click to show internal directories.
Click to hide internal directories.