service

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunForwardInstance

func RunForwardInstance(cId string) error

Types

type EcsService

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

func NewECS

func NewECS() (*EcsService, error)

func (*EcsService) CreateInstance

func (s *EcsService) CreateInstance(postData *model.AliEcsOrder) (any, error)

func (*EcsService) DeleteInstance

func (s *EcsService) DeleteInstance(id string) (any, error)

func (*EcsService) InitAliVpcClient

func (s *EcsService) InitAliVpcClient(endPoint ...string) (_result *vpc20160428.Client, _err error)

InitAliVpcClient 初始化VPC客户端

func (*EcsService) InitECSClient

func (s *EcsService) InitECSClient(endPoint ...string) (_result *ecs20140526.Client, _err error)

InitECSClient 创建ECS客户端

type ForWardService

type ForWardService struct {
}

func NewForWardService

func NewForWardService() *ForWardService

func (*ForWardService) Create

func (s *ForWardService) Create(r *http.Request) error

func (*ForWardService) Delete

func (s *ForWardService) Delete(id string) error

func (*ForWardService) Stop

func (s *ForWardService) Stop(r *http.Request) error

func (*ForWardService) Update

func (s *ForWardService) Update(r *http.Request) error

type ServWS

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

func NewWS

func NewWS(ws *websocket.Conn) *ServWS

func (*ServWS) Service

func (s *ServWS) Service(_ctx context.Context)

type Service

type Service struct {
}

Jump to

Keyboard shortcuts

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