wdmethods

package
v0.0.0-...-305f2c3 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Name   string `json:"name"`
	Passwd string `json:"passwd"`
}

Account user account

type LoginCtx

type LoginCtx struct {
	GwAddress string `json:"gw_address"`
	GwID      string `json:"gw_id"`
	GwPort    string `json:"gw_port"`
	URL       string `json:"url"`
}

LoginCtx wifidog login Context struct

func NewLoginCtx

func NewLoginCtx() *LoginCtx

NewLoginCtx creator

func (*LoginCtx) Auth

func (loginCtx *LoginCtx) Auth(c echo.Context) error

Auth auth method

func (*LoginCtx) Login

func (loginCtx *LoginCtx) Login(c echo.Context) error

Login wifidog login GET method

func (*LoginCtx) LoginCheck

func (loginCtx *LoginCtx) LoginCheck(c echo.Context) error

LoginCheck wifi user login account check

func (*LoginCtx) Ping

func (loginCtx *LoginCtx) Ping(c echo.Context) error

Ping response wifidog's Ping Get method in v1

func (*LoginCtx) Portal

func (loginCtx *LoginCtx) Portal(c echo.Context) error

Portal portal method

Jump to

Keyboard shortcuts

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