apis

package
v0.0.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCampusNetService

func GetCampusNetService(userId string, queryString string) (string, error)

func GetQueryString

func GetQueryString() (string, error)

func LogoutCampusNetWork

func LogoutCampusNetWork(userIndex string) (string, error)

Types

type CampusLogin

type CampusLogin struct {
	UserId      string
	Password    string
	Service     string
	QueryString string
}

type ConnectCampusNetWorkResp

type ConnectCampusNetWorkResp struct {
	UserIndex         string      `json:"userIndex"`
	Result            string      `json:"result"`
	Message           string      `json:"message"`
	Forwordurl        interface{} `json:"forwordurl"`
	KeepaliveInterval int         `json:"keepaliveInterval"`
	ValidCodeURL      string      `json:"validCodeUrl"`
}

func ConnectCampusNetWork

func ConnectCampusNetWork(cl *CampusLogin) (ConnectCampusNetWorkResp, error)

type GetQueryStringError

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

func (*GetQueryStringError) Error

func (e *GetQueryStringError) Error() string

Jump to

Keyboard shortcuts

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