Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorNoOpenPolarisAbility = errors.New("polaris ability not open") ErrorSDKContextNotInit = errors.New("polaris SDKContext not init") )
Functions ¶
func GetConsumerAPI ¶ added in v3.0.4
func GetConsumerAPI() (polaris.ConsumerAPI, error)
GetConsumerAPI creates one polaris ConsumerAPI instance
func GetLimiterAPI ¶ added in v3.0.4
func GetLimiterAPI() (polaris.LimitAPI, error)
GetLimiterAPI creates one polaris LimiterAPI instance
func GetNamespace ¶ added in v3.0.4
func GetNamespace() string
GetNamespace gets user defined namespace info
func GetProviderAPI ¶ added in v3.0.4
func GetProviderAPI() (polaris.ProviderAPI, error)
GetProviderAPI creates one polaris ProviderAPI instance
func GetRouterAPI ¶ added in v3.0.4
func GetRouterAPI() (polaris.RouterAPI, error)
GetRouterAPI create one polaris RouterAPI instance
func InitSDKContext ¶ added in v3.0.4
InitSDKContext inits polaris SDKContext by URL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.