Documentation ¶
Index ¶
- func APIRoute(router *gin.RouterGroup, eventChan chan *EventObj)
- func CheckUpdate(ctx *gin.Context)
- func ClearDNSCache(ctx *gin.Context)
- func ClearRecords(ctx *gin.Context)
- func DNSCacheList(ctx *gin.Context)
- func DisableSystemProxy(ctx *gin.Context)
- func DownloadCert(ctx *gin.Context)
- func DumpLarge(ctx *gin.Context)
- func DumpRequest(ctx *gin.Context)
- func EnableSystemProxy(ctx *gin.Context)
- func GenerateCert(ctx *gin.Context)
- func GetAllowDump(ctx *gin.Context)
- func GetConnMode(ctx *gin.Context)
- func GetRecords(ctx *gin.Context)
- func NewShutdown(eventChan chan *EventObj) func(ctx *gin.Context)
- func NewUpgrade(eventChan chan *EventObj) func(ctx *gin.Context)
- func ReloadConfig(eventChan chan *EventObj) func(ctx *gin.Context)
- func SelectRefresh(ctx *gin.Context)
- func SelectServer(ctx *gin.Context)
- func ServerList(ctx *gin.Context)
- func SetAllowDump(ctx *gin.Context)
- func SetConnMode(ctx *gin.Context)
- func WsHandler(w http.ResponseWriter, r *http.Request)
- func WsSpeedHandler(w http.ResponseWriter, r *http.Request)
- type ConnCenter
- type Group
- type PushTimeBuffer
- type Response
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIRoute ¶
func APIRoute(router *gin.RouterGroup, eventChan chan *EventObj)
func CheckUpdate ¶
func ClearDNSCache ¶
func ClearRecords ¶
func DNSCacheList ¶
func DisableSystemProxy ¶
func DownloadCert ¶
func DumpRequest ¶
func EnableSystemProxy ¶
func GenerateCert ¶
func GetAllowDump ¶
func GetConnMode ¶
func GetRecords ¶
func NewShutdown ¶
func NewUpgrade ¶
func ReloadConfig ¶
func SelectRefresh ¶
func SelectServer ¶
func ServerList ¶
func SetAllowDump ¶
func SetConnMode ¶
func WsSpeedHandler ¶
func WsSpeedHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type ConnCenter ¶
func (*ConnCenter) RangeSend ¶
func (c *ConnCenter) RangeSend(v interface{})
func (*ConnCenter) Remove ¶
func (c *ConnCenter) Remove(i int64)
type PushTimeBuffer ¶
func (*PushTimeBuffer) Push ¶
func (p *PushTimeBuffer) Push(v interface{})
func (*PushTimeBuffer) Run ¶
func (p *PushTimeBuffer) Run()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.