servertest

package
v0.0.0-...-3b1d31a Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerCert = "../../../../config/certs/server.crt"
	ServerKey  = "../../../../config/certs/server.key"
	ClientCert = "../../../../config/certs/client.crt"
	ClientKey  = "../../../../config/certs/client.key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Suite

type Suite struct {
	suite.Suite
	Server *server.Server
	Client *tls.Conn

	Executor        contracts.Executor
	TaskStatsReader *mocks.TasksStatsReader
}

func (*Suite) Auth

func (suite *Suite) Auth(mode server.Mode)

func (*Suite) ClientFileContentsWrite

func (suite *Suite) ClientFileContentsWrite(b []byte)

func (*Suite) ClientRead

func (suite *Suite) ClientRead(b []byte)

func (*Suite) ClientWrite

func (suite *Suite) ClientWrite(b []byte)

func (*Suite) ClientWriteReadAndDecodeList

func (suite *Suite) ClientWriteReadAndDecodeList(msg interface{}) []interface{}

func (*Suite) SetupSuite

func (suite *Suite) SetupSuite()

func (*Suite) SetupTest

func (suite *Suite) SetupTest()

func (*Suite) TearDownSuite

func (suite *Suite) TearDownSuite()

func (*Suite) TearDownTest

func (suite *Suite) TearDownTest()

Jump to

Keyboard shortcuts

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