aliyun

package
v2.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliSlbClient

type AliSlbClient struct {
	// contains filtered or unexported fields
}

func NewSlb

func NewSlb(regionId, accessKeyID, accessKeySecret string) (client *AliSlbClient, err error)

func (*AliSlbClient) AddBackendServers

func (c *AliSlbClient) AddBackendServers(balancerId string, serverId string) (response *slb.AddBackendServersResponse, err error)

AddBackendServers 添加后端服务器

func (*AliSlbClient) CreateLoadBalancer

func (c *AliSlbClient) CreateLoadBalancer(internetChargeType string, bandwidth int) (response *slb.CreateLoadBalancerResponse, err error)

CreateLoadBalancer 创建slb

func (*AliSlbClient) CreateLoadBalancerTCPListener

func (c *AliSlbClient) CreateLoadBalancerTCPListener(balancerId string, listenerPort int, backendServerPort int) (response *slb.CreateLoadBalancerTCPListenerResponse, err error)

CreateLoadBalancerTCPListener 创建监听

func (*AliSlbClient) DeleteLoadBalancer

func (c *AliSlbClient) DeleteLoadBalancer(balancerId string) (response *slb.DeleteLoadBalancerResponse, err error)

DeleteLoadBalancer 删除slb

func (*AliSlbClient) StartLoadBalancerListener

func (c *AliSlbClient) StartLoadBalancerListener(balancerId string, listenerPort int) (response *slb.StartLoadBalancerListenerResponse, err error)

StartLoadBalancerListener 开始监听

type AliSmsClient

type AliSmsClient struct {
	// contains filtered or unexported fields
}

func NewSMS

func NewSMS(regionId, accessKeyID, accessKeySecret string) (client *AliSmsClient, err error)

func (*AliSmsClient) Send

func (c *AliSmsClient) Send(phoneNumber, signName, templateCode string, templateParam map[string]interface{}) (response *dysmsapi.SendSmsResponse, err error)

Send 发送短信

Jump to

Keyboard shortcuts

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