teatesting

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGlobal

func IsGlobal() bool

是否是全局测试:go test ./...

func RequireDBAvailable

func RequireDBAvailable() bool

检查数据库

func RequireDNS

func RequireDNS() bool

需要DNS支持

func RequireDocker

func RequireDocker() bool

需要Docker支持

func RequireElasticSearch

func RequireElasticSearch() bool

需要ES支持

func RequireFascgi

func RequireFascgi() bool

检查Fastcgi

func RequireHTTPServer

func RequireHTTPServer() bool

需要测试HTTP Server支持

func RequireMongoDB

func RequireMongoDB() bool

需要MongoDB支持

func RequireMySQL

func RequireMySQL() bool

需要MySQL支持

func RequireNginxStatus

func RequireNginxStatus() bool

需要Nginx Status支持

func RequirePort

func RequirePort(port int) bool

需要端口支持

func RequirePostgres

func RequirePostgres() bool

需要Postgres支持

func RequireRedis

func RequireRedis() bool

需要Redis支持

func RequireTeaWebServer

func RequireTeaWebServer() bool

需要TeaWeb Server支持

func StartTestServer

func StartTestServer()

启动测试服务器

Types

type WebsocketResponse

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

websocket response

Jump to

Keyboard shortcuts

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