net_ns

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WEBSOCKET_PROPNAMES = []string{"send_json", "read_json", "close"}
)
View Source
var (
	WEBSOCKET_SERVER_PROPNAMES = []string{"upgrade", "close"}
)

Functions

This section is empty.

Types

type WebsocketConnection

type WebsocketConnection struct {
	symbolic.UnassignablePropsMixin
	// contains filtered or unexported fields
}

func (*WebsocketConnection) GetGoMethod

func (conn *WebsocketConnection) GetGoMethod(name string) (*symbolic.GoFunction, bool)

func (*WebsocketConnection) IsMutable

func (conn *WebsocketConnection) IsMutable() bool

func (*WebsocketConnection) PrettyPrint

func (*WebsocketConnection) Prop

func (conn *WebsocketConnection) Prop(name string) symbolic.Value

func (*WebsocketConnection) PropertyNames

func (*WebsocketConnection) PropertyNames() []string

func (*WebsocketConnection) Test

func (*WebsocketConnection) WidestOfType

func (r *WebsocketConnection) WidestOfType() symbolic.Value

type WebsocketServer

type WebsocketServer struct {
	symbolic.UnassignablePropsMixin
	// contains filtered or unexported fields
}

func (*WebsocketServer) Close

func (s *WebsocketServer) Close(ctx *symbolic.Context) *symbolic.Error

func (*WebsocketServer) GetGoMethod

func (s *WebsocketServer) GetGoMethod(name string) (*symbolic.GoFunction, bool)

func (*WebsocketServer) IsMutable

func (s *WebsocketServer) IsMutable() bool

func (*WebsocketServer) PrettyPrint

func (*WebsocketServer) Prop

func (s *WebsocketServer) Prop(name string) symbolic.Value

func (*WebsocketServer) PropertyNames

func (*WebsocketServer) PropertyNames() []string

func (*WebsocketServer) Test

func (*WebsocketServer) WidestOfType

func (s *WebsocketServer) WidestOfType() symbolic.Value

Jump to

Keyboard shortcuts

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