tr069

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: LGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const Tr069CookieName = "tr069_cookie"
View Source
const Tr069Session = "tr069_session"

Variables

This section is empty.

Functions

func Listen

func Listen() error

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) Start

func (s *Tr069Server) Start() (err error)

Start 启动服务器

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

Jump to

Keyboard shortcuts

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