handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIPGWHandler

func NewIPGWHandler() *ipgwHandler

Types

type GwHandler

type GwHandler struct {
	// contains filtered or unexported fields
}

func NewGWHandler

func NewGWHandler() *GwHandler

func (*GwHandler) GetClient

func (h *GwHandler) GetClient() *http.Client

get client

func (*GwHandler) Login

func (h *GwHandler) Login(username string, password string) error

func (*GwHandler) LoginWithAccount

func (h *GwHandler) LoginWithAccount(account *data.Account) error

func (*GwHandler) SetLogger

func (h *GwHandler) SetLogger(logger *logrus.Logger)

set logger

Jump to

Keyboard shortcuts

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