models

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Existence

type Existence map[string]ServerExistence

func (Existence) IsExist

func (e Existence) IsExist(server string) bool

IsExist checks an Existence instance to see if it is existed in server

type ServerExistence

type ServerExistence struct {
	Exist     bool   `json:"exist"`
	OpenTime  *int64 `json:"openTime"`
	CloseTime *int64 `json:"closeTime"`
}

Jump to

Keyboard shortcuts

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