Documentation ¶
Index ¶
- type Handler
- func (h *Handler) AddCustomWebsite(webSite string) error
- func (h *Handler) DelCustomWebsites(id int64) error
- func (h *Handler) GetConfig() (*model.PacHandlerConfig, error)
- func (h *Handler) GetCurrentCron() string
- func (h *Handler) GetCurrentPAC() string
- func (h *Handler) ListCustomWebsites() ([]*model.PacWebSite, error)
- func (h *Handler) ManualGeneratePac() error
- func (h *Handler) UpdateConfig(c *model.PacHandlerConfig) error
- func (h *Handler) UpdateCron(cronString string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) AddCustomWebsite ¶
func (*Handler) DelCustomWebsites ¶
func (*Handler) GetCurrentCron ¶
func (*Handler) GetCurrentPAC ¶
func (*Handler) ListCustomWebsites ¶
func (h *Handler) ListCustomWebsites() ([]*model.PacWebSite, error)
func (*Handler) ManualGeneratePac ¶
func (*Handler) UpdateConfig ¶
func (h *Handler) UpdateConfig(c *model.PacHandlerConfig) error
func (*Handler) UpdateCron ¶
Click to show internal directories.
Click to hide internal directories.