controllers

package
v0.0.0-...-0d762ae Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() net.IP

func Help

func Help(rw http.ResponseWriter, req *http.Request)

Types

type General

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

func NewGeneral

func NewGeneral(c *Config.Config) *General

func (*General) ActionHandle

func (gen *General) ActionHandle(rw http.ResponseWriter, req *http.Request)

func (*General) Index

func (gen *General) Index(rw http.ResponseWriter, req *http.Request)

func (*General) StartTesting

func (gen *General) StartTesting()

func (*General) StopTesting

func (gen *General) StopTesting()

type ResultContr

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

func NewResultController

func NewResultController(c *Config.Config) *ResultContr

func (*ResultContr) DeleteRes

func (rs *ResultContr) DeleteRes(rw http.ResponseWriter, req *http.Request)

func (*ResultContr) Files

func (rs *ResultContr) Files(rw http.ResponseWriter, req *http.Request)

func (*ResultContr) HandleResultPath

func (rs *ResultContr) HandleResultPath(rw http.ResponseWriter, req *http.Request)

func (*ResultContr) Origin

func (rs *ResultContr) Origin(rw http.ResponseWriter, req *http.Request)

func (*ResultContr) Result

func (rs *ResultContr) Result(rw http.ResponseWriter, req *http.Request)

type TestController

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

func NewTestController

func NewTestController(c *Config.Config) *TestController

func (*TestController) ExistedTest

func (tc *TestController) ExistedTest(rw http.ResponseWriter, req *http.Request)

func (*TestController) NewTest

func (tc *TestController) NewTest(rw http.ResponseWriter, req *http.Request)

func (*TestController) SaveTest

func (tc *TestController) SaveTest(rw http.ResponseWriter, req *http.Request)

type TestingController

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

func NewTestingController

func NewTestingController(c *Config.Config) *TestingController

func (*TestingController) Auth

func (tc *TestingController) Auth(rw http.ResponseWriter, req *http.Request)

func (*TestingController) Result

func (tc *TestingController) Result(rw http.ResponseWriter, req *http.Request)

func (*TestingController) StartTesting

func (tc *TestingController) StartTesting(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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