Documentation ¶
Index ¶
- Constants
- func Listen() error
- type Tr069Server
- func (s *Tr069Server) GetLatestCookieSn(c echo.Context) string
- func (s *Tr069Server) SetLatestInformByCookie(c echo.Context, sn string)
- func (s *Tr069Server) Start() (err error)
- func (s *Tr069Server) Tr069FirmwareDownload(c echo.Context) error
- func (s *Tr069Server) Tr069Index(c echo.Context) error
- func (s *Tr069Server) Tr069PresetScriptAlter(c echo.Context) error
- func (s *Tr069Server) Tr069ScriptAlter(c echo.Context) error
- func (s *Tr069Server) Tr069Upload(c echo.Context) error
Constants ¶
View Source
const Tr069CookieName = "tr069_cookie"
View Source
const Tr069Session = "tr069_session"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Tr069Server ¶
type Tr069Server struct {
// contains filtered or unexported fields
}
func NewTr069Server ¶
func NewTr069Server() *Tr069Server
func (*Tr069Server) GetLatestCookieSn ¶
func (s *Tr069Server) GetLatestCookieSn(c echo.Context) string
func (*Tr069Server) SetLatestInformByCookie ¶
func (s *Tr069Server) SetLatestInformByCookie(c echo.Context, sn string)
func (*Tr069Server) Tr069FirmwareDownload ¶
func (s *Tr069Server) Tr069FirmwareDownload(c echo.Context) error
func (*Tr069Server) Tr069Index ¶
func (s *Tr069Server) Tr069Index(c echo.Context) error
func (*Tr069Server) Tr069PresetScriptAlter ¶
func (s *Tr069Server) Tr069PresetScriptAlter(c echo.Context) error
func (*Tr069Server) Tr069ScriptAlter ¶
func (s *Tr069Server) Tr069ScriptAlter(c echo.Context) error
func (*Tr069Server) Tr069Upload ¶
func (s *Tr069Server) Tr069Upload(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.