Documentation ¶
Overview ¶
Package ffxiv implements functions to read some data from FFXIV website.
Index ¶
Constants ¶
View Source
const Version = 1
Version is used to keep track of breaking changes in the structs.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
WorldStatus() ([]WorldStatus, error)
}
type ServerCategory ¶
type ServerCategory string
const ( CategoryStandard ServerCategory = "Standard" CategoryPreferred ServerCategory = "Preferred" CategoryCongested ServerCategory = "Congested" CategoryNew ServerCategory = "New" )
type ServerStatus ¶
type ServerStatus string
const ( StatusUnknown ServerStatus = "" StatusMaintenance ServerStatus = "maintenance" StatusPartialMaintenance ServerStatus = "partial_maintenance" StatusOnline ServerStatus = "online" )
type WorldStatus ¶
type WorldStatus struct { Group string Name string Category ServerCategory ServerStatus ServerStatus CanCreateNewCharacters bool }
func ParseWorldStatusPage ¶
func ParseWorldStatusPage(r io.Reader) ([]WorldStatus, error)
Click to show internal directories.
Click to hide internal directories.