Documentation ¶
Index ¶
- Variables
- type WebsocketConnection
- func (conn *WebsocketConnection) GetGoMethod(name string) (*symbolic.GoFunction, bool)
- func (conn *WebsocketConnection) IsMutable() bool
- func (r *WebsocketConnection) PrettyPrint(w prettyprint.PrettyPrintWriter, config *pprint.PrettyPrintConfig)
- func (conn *WebsocketConnection) Prop(name string) symbolic.Value
- func (*WebsocketConnection) PropertyNames() []string
- func (r *WebsocketConnection) Test(v symbolic.Value, state symbolic.RecTestCallState) bool
- func (r *WebsocketConnection) WidestOfType() symbolic.Value
- type WebsocketServer
- func (s *WebsocketServer) Close(ctx *symbolic.Context) *symbolic.Error
- func (s *WebsocketServer) GetGoMethod(name string) (*symbolic.GoFunction, bool)
- func (s *WebsocketServer) IsMutable() bool
- func (s *WebsocketServer) PrettyPrint(w prettyprint.PrettyPrintWriter, config *pprint.PrettyPrintConfig)
- func (s *WebsocketServer) Prop(name string) symbolic.Value
- func (*WebsocketServer) PropertyNames() []string
- func (s *WebsocketServer) Test(v symbolic.Value, state symbolic.RecTestCallState) bool
- func (s *WebsocketServer) Upgrade(ctx *symbolic.Context, rw *http_symbolic.ResponseWriter, ...) (*WebsocketConnection, *symbolic.Error)
- func (s *WebsocketServer) WidestOfType() symbolic.Value
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 (r *WebsocketConnection) PrettyPrint(w prettyprint.PrettyPrintWriter, config *pprint.PrettyPrintConfig)
func (*WebsocketConnection) Prop ¶
func (conn *WebsocketConnection) Prop(name string) symbolic.Value
func (*WebsocketConnection) PropertyNames ¶
func (*WebsocketConnection) PropertyNames() []string
func (*WebsocketConnection) Test ¶
func (r *WebsocketConnection) Test(v symbolic.Value, state symbolic.RecTestCallState) bool
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 (s *WebsocketServer) PrettyPrint(w prettyprint.PrettyPrintWriter, config *pprint.PrettyPrintConfig)
func (*WebsocketServer) PropertyNames ¶
func (*WebsocketServer) PropertyNames() []string
func (*WebsocketServer) Test ¶
func (s *WebsocketServer) Test(v symbolic.Value, state symbolic.RecTestCallState) bool
func (*WebsocketServer) Upgrade ¶
func (s *WebsocketServer) Upgrade(ctx *symbolic.Context, rw *http_symbolic.ResponseWriter, req *http_symbolic.Request) (*WebsocketConnection, *symbolic.Error)
func (*WebsocketServer) WidestOfType ¶
func (s *WebsocketServer) WidestOfType() symbolic.Value
Click to show internal directories.
Click to hide internal directories.