autositespeed

package module
v0.0.0-...-09cf6e0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: MIT Imports: 16 Imported by: 1

README

autositespeed

Sitespeed.io web performance test scheduler and management agent

Build Status

Documentation

Overview

Config.go

Logging.go

Server.go

TestExecutor.go

TestScheduler.go

TestSuite.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(configPathList []string, configName string, conf interface{})

Types

type AutoSiteSpeedServer

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

func NewServer

func NewServer(conf Configuration) *AutoSiteSpeedServer

func (*AutoSiteSpeedServer) Start

func (ass *AutoSiteSpeedServer) Start()

type Configuration

type Configuration struct {
	TestScheduler testSchedulerConf `json:"testScheduler"`
	TestExecutor  testExecutorConf  `json:"testExecutor"`
	Logging       LogOptions        `json:logging`
}

type LogOptions

type LogOptions struct {
	Enabled    bool
	FilePath   string
	MaxSize    int
	MaxBackups int
	MaxAge     int
}

type TestSuite

type TestSuite struct {
	SuiteName string    `json:"suiteName"`
	Tests     []UrlTest `json:"tests"`
}

func ReadTestSuiteFromFile

func ReadTestSuiteFromFile(testSuiteFile string) (*TestSuite, error)

type UrlTest

type UrlTest struct {
	Name      string `json:"name"`
	Url       string `json:"url"`
	PreScript string `json:"preScript"`
}

Directories

Path Synopsis
main.go
main.go

Jump to

Keyboard shortcuts

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