sandbox

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultSandBox

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

DefaultSandBox 默认的服务

func NewDefaultSandBox

func NewDefaultSandBox(cfg *easyservice.BoxConf, globalLeftPlugin ...drpc.Plugin) *DefaultSandBox

NewDefaultSandBox 创建一个默认的服务沙盒

func (*DefaultSandBox) Endpoint

func (that *DefaultSandBox) Endpoint() drpc.Endpoint

func (*DefaultSandBox) ID

func (that *DefaultSandBox) ID() int

func (*DefaultSandBox) Name

func (that *DefaultSandBox) Name() string

func (*DefaultSandBox) Service

func (that *DefaultSandBox) Service() *easyservice.EasyService

func (*DefaultSandBox) Setup

func (that *DefaultSandBox) Setup() error

func (*DefaultSandBox) Shutdown

func (that *DefaultSandBox) Shutdown() error

type HttpSandBox

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

HttpSandBox 默认的服务

func NewHttpSandBox

func NewHttpSandBox(service *easyservice.EasyService) *HttpSandBox

NewHttpSandBox 创建一个默认的服务沙盒

func (*HttpSandBox) ID

func (that *HttpSandBox) ID() int

func (*HttpSandBox) Name

func (that *HttpSandBox) Name() string

func (*HttpSandBox) Service

func (that *HttpSandBox) Service() *easyservice.EasyService

func (*HttpSandBox) Setup

func (that *HttpSandBox) Setup() error

func (*HttpSandBox) Shutdown

func (that *HttpSandBox) Shutdown() error

type KCPSandBox

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

KCPSandBox 默认的服务

func NewKCPSandBox

func NewKCPSandBox(cfg *easyservice.BoxConf, globalLeftPlugin ...drpc.Plugin) *KCPSandBox

NewKCPSandBox 创建一个默认的服务沙盒

func NewQUICSandBox

func NewQUICSandBox(cfg *easyservice.BoxConf, globalLeftPlugin ...drpc.Plugin) *KCPSandBox

NewQUICSandBox 创建一个默认的服务沙盒

func (*KCPSandBox) Endpoint

func (that *KCPSandBox) Endpoint() drpc.Endpoint

func (*KCPSandBox) ID

func (that *KCPSandBox) ID() int

func (*KCPSandBox) Name

func (that *KCPSandBox) Name() string

func (*KCPSandBox) Service

func (that *KCPSandBox) Service() *easyservice.EasyService

func (*KCPSandBox) Setup

func (that *KCPSandBox) Setup() error

func (*KCPSandBox) Shutdown

func (that *KCPSandBox) Shutdown() error

type QUICSandBox

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

QUICSandBox 默认的服务

func (*QUICSandBox) Endpoint

func (that *QUICSandBox) Endpoint() drpc.Endpoint

func (*QUICSandBox) ID

func (that *QUICSandBox) ID() int

func (*QUICSandBox) Name

func (that *QUICSandBox) Name() string

func (*QUICSandBox) Service

func (that *QUICSandBox) Service() *easyservice.EasyService

func (*QUICSandBox) Setup

func (that *QUICSandBox) Setup() error

func (*QUICSandBox) Shutdown

func (that *QUICSandBox) Shutdown() error

Jump to

Keyboard shortcuts

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