Documentation ¶
Overview ¶
Package vcr defines the VCR services of BCE. The supported APIs are all defined in sub-package
Index ¶
- Constants
- type Client
- func (c *Client) GetMedia(source string) (*api.GetMediaResult, error)
- func (c *Client) PutMedia(args *api.PutMediaArgs) error
- func (c *Client) PutText(args *api.PutTextArgs) (*api.PutTextResult, error)
- func (c *Client) SimplePutMedia(source string, description string, preset string, notification string) error
- func (c *Client) SimplePutText(text string) (*api.PutTextResult, error)
Constants ¶
View Source
const (
DEFAULT_SERVICE_DOMAIN = "vcr." + bce.DEFAULT_REGION + "." + bce.DEFAULT_DOMAIN
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client of VCR service is a kind of BceClient, so derived from BceClient
func NewClient ¶
NewClient make the VCR service client with default configuration. Use `cli.Config.xxx` to access the config or change it to non-default value.
func (*Client) PutText ¶
func (c *Client) PutText(args *api.PutTextArgs) (*api.PutTextResult, error)
func (*Client) SimplePutMedia ¶
func (*Client) SimplePutText ¶
func (c *Client) SimplePutText(text string) (*api.PutTextResult, error)
Click to show internal directories.
Click to hide internal directories.