startutils

package
v0.0.0-...-46baba5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFreePort

func GetFreePort(t *testing.T) int

GetFreePort asks the kernel for a free open port that is ready to use.

Types

type Server

type Server struct {
	// Main tools
	Tools *tools.Toolbox
	DB    sqlstorage.Querier
	FS    afero.Fs

	// Services
	ConfigSvc        config.Service
	SpacesSvc        spaces.Service
	SchedulerSvc     scheduler.Service
	DavSessionsSvc   davsessions.Service
	WebSessionsSvc   websessions.Service
	OauthSessionsSvc oauthsessions.Service
	OauthConsentsSvc oauthconsents.Service
	DFSSvc           dfs.Service
	Files            files.Service
	UsersSvc         users.Service
	RunnerSvc        runner.Service
	MasterKeySvc     masterkey.Service
	StatsSvc         stats.Service

	User *users.User
}

func NewServer

func NewServer(t *testing.T) *Server

Jump to

Keyboard shortcuts

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