Documentation ¶
Index ¶
Constants ¶
View Source
const Endpoint = "/clients"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Id uint64 `json:"id"` WId uint64 `json:"wid"` Name string `json:"name"` Currency string `json:"currency"` }
Toggl Client Definition
type TClient ¶
type TClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(thc *gthttp.TogglHttpClient) *TClient
Return a Toggl Client. An error is also returned when some configuration option is invalid
thc,err := gtoggl.NewClient("token") tc,err := gclient.NewClient(tc)
Click to show internal directories.
Click to hide internal directories.