Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookingServerProvider ¶
type BookingServerProvider struct {
// contains filtered or unexported fields
}
func NewBookingServerProvider ¶
func NewBookingServerProvider(addr string) *BookingServerProvider
func (*BookingServerProvider) GetServerList ¶
func (sp *BookingServerProvider) GetServerList() ([]*Server, error)
type Server ¶
type Server struct { Server string `json:"server"` LocalAddress string `json:"local_address"` LocalPort int `json:"local_port"` Timeout int `json:"timeout"` Workers int `json:"workers"` ServerPort int `json:"server_port"` Password string `json:"password"` Method string `json:"method"` Plugin string `json:"plugin"` PingSpeed float64 }
type ServerProvider ¶
Click to show internal directories.
Click to hide internal directories.