Documentation ¶
Index ¶
- func GetOutboundIP() net.IP
- func Help(rw http.ResponseWriter, req *http.Request)
- type General
- type ResultContr
- func (rs *ResultContr) DeleteRes(rw http.ResponseWriter, req *http.Request)
- func (rs *ResultContr) Files(rw http.ResponseWriter, req *http.Request)
- func (rs *ResultContr) HandleResultPath(rw http.ResponseWriter, req *http.Request)
- func (rs *ResultContr) Origin(rw http.ResponseWriter, req *http.Request)
- func (rs *ResultContr) Result(rw http.ResponseWriter, req *http.Request)
- type TestController
- type TestingController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOutboundIP ¶
Types ¶
type General ¶
type General struct {
// contains filtered or unexported fields
}
func NewGeneral ¶
func (*General) ActionHandle ¶
func (gen *General) ActionHandle(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)
Click to show internal directories.
Click to hide internal directories.