Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetContentItem ¶
func (client *Client) GetContentItem(id string, credentials creds.Credentials) (ContentItem, bool, error)
GetContentItem - Get a content item
func (*Client) GetContentItems ¶
func (client *Client) GetContentItems(credentials creds.Credentials) ([]ContentItem, error)
GetContentItems - Returns a list of CDS content items
func (*Client) VerifyCredentials ¶
func (client *Client) VerifyCredentials(credentials creds.Credentials) (bool, error)
VerifyCredentials - return true if the token is valid and false otherwise.
Click to show internal directories.
Click to hide internal directories.