testutil

package
v0.0.0-...-736f05d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayConfig

type GatewayConfig struct {
	GatewayURL  string
	AdminURL    string
	AdminSecret string
}

type GatewayManager

type GatewayManager struct {
	Config *GatewayConfig
	// contains filtered or unexported fields
}

func (*GatewayManager) CloseGateway

func (m *GatewayManager) CloseGateway() error

func (*GatewayManager) DestroyGatewaySessions

func (m *GatewayManager) DestroyGatewaySessions()

func (*GatewayManager) Gateway

func (m *GatewayManager) Gateway() (*janus.Gateway, error)

func (*GatewayManager) GatewayAdminAPI

func (m *GatewayManager) GatewayAdminAPI() (janus_admin.AdminAPI, error)

func (*GatewayManager) Init

func (m *GatewayManager) Init()

func (*GatewayManager) NewGatewaySession

func (m *GatewayManager) NewGatewaySession() (*janus.Session, error)

type TestDBManager

type TestDBManager struct {
	DB        *sql.DB
	DBCleaner dbcleaner.DbCleaner
	// contains filtered or unexported fields
}

func (*TestDBManager) AllTables

func (m *TestDBManager) AllTables() []string

func (*TestDBManager) DestroyTestDB

func (m *TestDBManager) DestroyTestDB() error

func (*TestDBManager) InitTestDB

func (m *TestDBManager) InitTestDB() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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