Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_GLOBAL_ENDPOINT = "aihc.baidubce.com" DEFAULT_REGION_ENDPOINT = "aihc." + bce.DEFAULT_REGION + ".baidubce.com" )
Variables ¶
This section is empty.
Functions ¶
func IsRegionedEndpoint ¶
Types ¶
type Client ¶
type Client struct { DefaultClient *bce.BceClient RegionClient *bce.BceClient GlobalClient *bce.BceClient }
Client of BBC service is a kind of BceClient, so derived from BceClient
func NewClient ¶
NewClient make the BBC service client with default configuration. Use `cli.Config.xxx` to access the config or change it to non-default value.
func NewClientWithSTS ¶
NewClientWithSTS make the aihc inference service client with STS configuration.
Click to show internal directories.
Click to hide internal directories.