handle login plugins requeset

This commit is contained in:
MscBaiMeow
2021-06-14 21:06:21 +08:00
parent 8923793e2d
commit a4e9ed9143
2 changed files with 24 additions and 3 deletions

View File

@ -13,8 +13,8 @@ type Client struct {
Name string
UUID uuid.UUID
Events Events
//TODO: LoginEvents Events
Events Events
LoginPlugin map[string]func(data []byte) ([]byte, error)
}
func (c *Client) Close() error {