polaris

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

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 Check added in v3.0.5

func Check() error

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

func InitSDKContext(url *common.URL) error

InitSDKContext inits polaris SDKContext by URL

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL