response

package
v0.0.0-...-6684604 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusOK   int = 0
	StatusBusy int = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Portal

type Portal struct {
	Status        int
	PushPeriod    int      `xml:"PushPeriod,omitempty"`
	LogPeriod     int      `xml:"LogPeriod,omitempty"`
	APLimit       int      `xml:"APLimit,omitempty"`
	PortalMessage string   `xml:"PortalMessage,omitempty"`
	Endpoint      *url.URL `xml:"ServerAddres,omitempty"`
}

func NewPortal

func NewPortal() *Portal

type Root

type Root struct {
	Time   *common.Time `xml:"Time,omitempty"`
	Portal *Portal      `xml:"Portal,omitempty"`
}

func NewRoot

func NewRoot() *Root

Jump to

Keyboard shortcuts

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