testutils

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetListener

func GetListener(v interface{}) net.Listener

GetListener extracts net.Listener from network.Transporter in route.Engine

func GetListenerAddr

func GetListenerAddr(v interface{}) string

GetListenerAddr is shortcut of GetListener(e).Addr().String()

func GetURL

func GetURL(v interface{}, p string) string

GetURL ...

func WaitEngineRunning added in v0.10.0

func WaitEngineRunning(e RouteEngine)

Types

type RouteEngine added in v0.10.0

type RouteEngine interface {
	IsRunning() bool
}

Jump to

Keyboard shortcuts

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