File: profile_grants_list.go

package info (click to toggle)
golang-github-linode-linodego 1.55.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,112 kB
  • sloc: makefile: 96; sh: 52; python: 24
file content (11 lines) | stat: -rw-r--r-- 228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
package linodego

import (
	"context"
)

type GrantsListResponse = UserGrants

func (c *Client) GrantsList(ctx context.Context) (*GrantsListResponse, error) {
	return doGETRequest[GrantsListResponse](ctx, c, "profile/grants")
}