Versions in this module Expand all Collapse all v0 v0.0.8 Mar 5, 2022 Changes in this version + const SessionKeyUid + const SessionKeyUserIp + const SessionKeyUserKey + func AddCrawlerNode(c *fiber.Ctx) error + func AddNode(c *fiber.Ctx) error + func ChangePassword(c *fiber.Ctx) error + func CheckUsable(c *fiber.Ctx) error + func InitHttpService() (bool, error) + func InitStorage() error + func InitWs(app *fiber.App) error + func NodeList(ctx *fiber.Ctx) error + func Pac(c *fiber.Ctx) error + func Registration(c *fiber.Ctx) error + func SubClash(c *fiber.Ctx) error + func SubV2ray(c *fiber.Ctx) error + func SyncNode(c *fiber.Ctx) error + func Version(c *fiber.Ctx) error + type AddCrawlerNodeReq struct + CrawlerType types.CrawlType + NodeUrl string + Rule types.CrawlerConfRule + UseTpe types.UseType + type AddNodeReq struct + NodeUrl string + type Init struct + func (p *Init) Init() (needRun bool, err error) + func (p *Init) Name() string + func (p *Init) WaitFinish() + type SubClashReq struct + CheckProxy *bool + DnsServiceList []string + EnableIpv6 *bool + Limit *int + type SubV2rayReq struct + Limit *int + type WsClient struct + func NewWsClient(c *websocket.Conn) *WsClient + func (p *WsClient) Init(clientId string) error + func (p *WsClient) RecvMsgForever() + func (p *WsClient) SendMsg(msg interface{}) error + type WsClientDispatch struct + func NewWsClientDispatch() *WsClientDispatch + func (p *WsClientDispatch) Add(c *websocket.Conn) error + func (p *WsClientDispatch) OnClose(clientId string)