Documentation
¶
Index ¶
- Constants
- type CallListParams
- type Client
- func (c *Client) GetTranscript(ctx context.Context, params TranscriptParams) (*Response, error)
- func (c *Client) ListCalls(ctx context.Context, params CallListParams) (*Response, error)
- func (c *Client) ListUsers(ctx context.Context, params UserListParams) (*Response, error)
- func (c *Client) Raw(ctx context.Context, method string, path string, body []byte) (*Response, error)
- type HTTPError
- type Options
- type PageRecords
- type Response
- type TranscriptParams
- type UserListParams
Constants ¶
View Source
const DefaultBaseURL = "https://api.gong.io"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallListParams ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetTranscript ¶
type PageRecords ¶
type PageRecords struct {
TotalRecords int `json:"totalRecords"`
CurrentPageSize int `json:"currentPageSize"`
CurrentPageNumber int `json:"currentPageNumber"`
Cursor string `json:"cursor"`
}
func PageRecordsFromBody ¶
func PageRecordsFromBody(body []byte) (PageRecords, error)
type TranscriptParams ¶
type UserListParams ¶
Click to show internal directories.
Click to hide internal directories.