Documentation ¶
Index ¶
- Constants
- func CreateTask(accessToken string, listId string, name string, description string) (*model.HeightTask, error)
- func GetLists(accessToken string) ([]*model.HeightList, error)
- func GetOAuthConfig() (*oauth2.Config, []oauth2.AuthCodeOption, error)
- func GetRefreshToken(ctx context.Context, oldToken *oauth2.Token) (*oauth2.Token, error)
- func GetWorkspaces(accessToken string) ([]*model.HeightWorkspace, error)
- func SearchTask(accessToken string, query string) ([]*model.IssuesSearchResult, error)
- type HeightClient
- type HeightTokenResponse
Constants ¶
View Source
const (
ApiBaseUrl = "https://api.height.app"
)
Variables ¶
This section is empty.
Functions ¶
func CreateTask ¶
func CreateTask(accessToken string, listId string, name string, description string) (*model.HeightTask, error)
https://www.notion.so/Create-a-task-b50565736830422684b28ae570a53a9e
func GetLists ¶
func GetLists(accessToken string) ([]*model.HeightList, error)
https://www.notion.so/List-all-lists-4c0b34cbc33e49cf9fd8a77deb12d43b
func GetOAuthConfig ¶
func GetOAuthConfig() (*oauth2.Config, []oauth2.AuthCodeOption, error)
func GetRefreshToken ¶
func GetWorkspaces ¶
func GetWorkspaces(accessToken string) ([]*model.HeightWorkspace, error)
https://www.notion.so/Retrieve-the-workspace-33edc907797d4c8ab39fe10ed38a9549
func SearchTask ¶
func SearchTask(accessToken string, query string) ([]*model.IssuesSearchResult, error)
Types ¶
type HeightClient ¶
type HeightClient struct { }
func NewHeightClient ¶
func NewHeightClient() *HeightClient
Click to show internal directories.
Click to hide internal directories.