routeexample

package
v0.9.189 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRouteRule

func CreateRouteRule()

main函数用于启动程序

func DeleteRouteRule

func DeleteRouteRule()

main函数,删除路由规则

func GetRouteRuleDetail

func GetRouteRuleDetail()

main函数是主函数,用于执行程序

func GetRouteTableDetail

func GetRouteTableDetail()

main 函数是 Go 程序的入口函数

func SwitchRoute

func SwitchRoute()

switchRoute

PARAMS:

  • routeRuleId: 主路由规则ID
  • clientToken: the idempotent token, 可选
  • action: 切换路由规则的动作,可选值:switchRouteHA

RETURNS:

  • error: nil if success otherwise the specific error

func UpdateRouteRule

func UpdateRouteRule()

main 函数作为主函数

Types

This section is empty.

Jump to

Keyboard shortcuts

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