Documentation ¶
Index ¶
- func Exit()
- func GetServerInfo() serverinfo.ServerInfo
- func GetServerList() []serverinfo.ServerInfo
- func GetServerWithID(id string) (serverinfo.ServerInfo, error)
- func IsLoop(in serverinfo.ServerInfo) bool
- func LoadConfig()
- func NewMessage(receiver serverinfo.ServerInfo, t typemesh.MessageType, ver float32, c []byte) error
- func RegisterPage(page *types.Page, nav *navigation.Navigation)
- func Render(page *types.Page, nav *navigation.Navigation, r *http.Request)
- func SendMessage(output typemesh.ServerMessage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServerInfo ¶
func GetServerInfo() serverinfo.ServerInfo
func GetServerList ¶
func GetServerList() []serverinfo.ServerInfo
func GetServerWithID ¶
func GetServerWithID(id string) (serverinfo.ServerInfo, error)
func IsLoop ¶
func IsLoop(in serverinfo.ServerInfo) bool
func LoadConfig ¶
func LoadConfig()
func NewMessage ¶
func NewMessage(receiver serverinfo.ServerInfo, t typemesh.MessageType, ver float32, c []byte) error
func RegisterPage ¶
func RegisterPage(page *types.Page, nav *navigation.Navigation)
func Render ¶
func Render(page *types.Page, nav *navigation.Navigation, r *http.Request)
func SendMessage ¶
func SendMessage(output typemesh.ServerMessage) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.