unit

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DemoHandler

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

DemoHandler ... 示例 handler

func (*DemoHandler) Handlers

func (inst *DemoHandler) Handlers() []*engine.HandlerRegistration

Handlers ...

type DemoUnit

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

DemoUnit ... 单元测试示例

func (*DemoUnit) Units

func (inst *DemoUnit) Units(list []*units.Registration) []*units.Registration

Units ...

type Unit1

type Unit1 struct {
	Client tbmp.Client //starter:inject("#")
	Port   int         //starter:inject("${server.tbmp.port}")
	// contains filtered or unexported fields
}

Unit1 ... 单元测试示例

func (*Unit1) Units

func (inst *Unit1) Units(list []*units.Registration) []*units.Registration

Units ...

Jump to

Keyboard shortcuts

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