config

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HTTPPort int
	GRPCPort int
)

Functions

func GetConfig

func GetConfig() *config.Config

func PickUpTestPorts

func PickUpTestPorts() error

Types

type TestCasesMap

type TestCasesMap struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func GenerateTestCases

func GenerateTestCases() (testCases []*db.Case, testCasesMap *TestCasesMap)

func (*TestCasesMap) CheckTestCaseAvailability

func (tcm *TestCasesMap) CheckTestCaseAvailability(caseHash string) (string, bool)

func (*TestCasesMap) CountTestCases

func (tcm *TestCasesMap) CountTestCases() int

func (*TestCasesMap) GetRemainingValues

func (tcm *TestCasesMap) GetRemainingValues() []string

Jump to

Keyboard shortcuts

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