oauth

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2016 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(
	accessToken string,
	clientID string,
	apiURL string,
	logger logger.Logger,
) wl.Client

NewClient is a utility method to simplify initialization of a new oauthClient.

Types

type TaskUpdateConfig

type TaskUpdateConfig struct {
	Title           string   `json:"title,omitempty"`
	Revision        uint     `json:"revision"`
	AssigneeID      uint     `json:"assignee_id,omitempty"`
	ListID          uint     `json:"list_id,omitempty"`
	Completed       bool     `json:"completed"`
	RecurrenceType  string   `json:"recurrence_type,omitempty"`
	RecurrenceCount uint     `json:"recurrence_count,omitempty"`
	DueDate         string   `json:"due_date,omitempty"`
	Starred         bool     `json:"starred"`
	Remove          []string `json:"remove,omitempty"`
}

TaskUpdateConfig contains information required to update an existing task.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL