Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUsersData ¶
func GetUsersData() *durationdata.DurationData
GetUsersData - Returns the instance of DurationData relative to user duration data
Types ¶
type UserRemoteData ¶
type UserRemoteData struct{}
UserRemoteData - Define a struct that implements DDInterface
func (UserRemoteData) EncodeQueryString ¶
func (u UserRemoteData) EncodeQueryString(req *http.Request)
EncodeQueryString - Define the to-implement func to add extra data to request header
func (UserRemoteData) GetBody ¶
func (u UserRemoteData) GetBody() io.Reader
GetBody - Returns the body of request
func (UserRemoteData) GetMethod ¶
func (u UserRemoteData) GetMethod() string
GetMethod - Returns the method of request ex "POST"
func (UserRemoteData) GetURL ¶
func (u UserRemoteData) GetURL() string
GetURL - Returns the endpoint of the resource
func (UserRemoteData) HandlerData ¶
func (u UserRemoteData) HandlerData() (interface{}, error)
HandlerData - Exec the method handler to retrive the remote data
Click to show internal directories.
Click to hide internal directories.