Documentation
¶
Index ¶
- type Module
- func (m *Module) AttachSocket(vm *goja.Runtime, socket *goja.Object, connection net.Conn) bool
- func (m *Module) DetachSocket(ctx context.Context, socket *goja.Object) (net.Conn, error)
- func (m *Module) Load(vm *goja.Runtime, module *goja.Object)
- func (m *Module) PrepareDetachSocket(socket *goja.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) AttachSocket ¶ added in v1.8.0
func (*Module) DetachSocket ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.