user

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	// contains filtered or unexported fields
}

func (*User) Events

func (user *User) Events(callback func(event string, data json.RawMessage) (err error))

func (*User) HandlerEvents

func (user *User) HandlerEvents(event string, data json.RawMessage) (err error)

func (*User) Init

func (user *User) Init(conn *connect.Connect) (err error)

func (*User) Send

func (user *User) Send(event string, data interface{}) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址