server

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IdleConnClosed = make(chan struct{})
)
View Source
var (
	Server *http.Server
)

Functions

func Filter

func Filter(c *gin.Context) (proxies []model.HttpProxy, err error)

func RunService

func RunService()

Types

type Resp

type Resp struct {
	Code   int         `json:"code"`
	Error  string      `json:"error"`
	Total  int         `json:"total"`
	Schema interface{} `json:",omitempty"`
	Score  interface{} `json:",omitempty"`
	Cn     int         `json:",omitempty"`
	Data   interface{} `json:"data"`
	Get    string      `json:",omitempty"`
	Random string      `json:",omitempty"`
	Home   string      `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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