Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CategoriesService ¶ added in v0.2.1
type CategoriesService interface { List(opts *gocancel.CategoriesListOptions) ([]*gocancel.Category, error) Get(categoryID string) (*gocancel.Category, error) }
CategoriesService is the interface that wraps the gocancel CategoriesService.
func NewCategoriesService ¶ added in v0.2.1
func NewCategoriesService(client *gocancel.Client) CategoriesService
NewCategoriesService builds an instance of CategoriesService.
type LettersService ¶ added in v0.2.1
type LettersService interface { List() ([]*gocancel.Letter, error) Create(request *gocancel.LetterRequest) (*gocancel.Letter, error) Get(letterID string) (*gocancel.Letter, error) }
LettersService is the interface that wraps the gocancel LettersService.
func NewLettersService ¶ added in v0.2.1
func NewLettersService(client *gocancel.Client) LettersService
NewLettersService builds an instance of LettersService.
type OrganizationsService ¶ added in v0.2.1
type OrganizationsService interface { List(opts *gocancel.OrganizationsListOptions) ([]*gocancel.Organization, error) Get(organizationID string) (*gocancel.Organization, error) ListProducts(organizationID string, opts *gocancel.OrganizationProductsListOptions) ([]*gocancel.Product, error) GetProduct(organizationID string, productID string) (*gocancel.Product, error) }
OrganizationsService is the interface that wraps the gocancel OrganizationsService.
func NewOrganizationsService ¶ added in v0.2.1
func NewOrganizationsService(client *gocancel.Client) OrganizationsService
NewOrganizationsService builds an instance of OrganizationsService.
type ProductsService ¶ added in v0.2.1
ProductsService is the interface that wraps the gocancel ProductsService.
func NewProductsService ¶ added in v0.2.1
func NewProductsService(client *gocancel.Client) ProductsService
NewProductsService builds an instance of ProductsService.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.