Documentation ¶
Index ¶
- Variables
- type AuthRequest
- type Client
- func (client *Client) Auth(serverCode string, serverPassword string, key string, fbtoken string, ...) (string, int, error)
- func (client *Client) CanSendMessage() bool
- func (client *Client) GetToken(username string, password string) string
- func (client *Client) SendMessage(data []byte)
- func (client *Client) ShouldRespondUser() string
- func (client *Client) TransferData(content string, uid string) string
- func (client *Client) WorldChat(message string)
- type FEncRequest
- type FTokenRequest
- type RespondRequest
- type WorldChatRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var ShouldDisableNBTConstructor = true
const authServer="wss://api.fastbuilder.pro:2053/"
Functions ¶
This section is empty.
Types ¶
type AuthRequest ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func CreateClient ¶
func (*Client) CanSendMessage ¶
func (*Client) SendMessage ¶
func (*Client) ShouldRespondUser ¶
type FEncRequest ¶
type FTokenRequest ¶
type RespondRequest ¶
type RespondRequest struct {
Action string `json:"action"`
}
type WorldChatRequest ¶
Click to show internal directories.
Click to hide internal directories.