Documentation
¶
Index ¶
- Constants
- func Dial(ctx context.Context, args ...object.Object) object.Object
- func Module() *object.Module
- type WsConn
- func (c *WsConn) Close(ctx context.Context, args ...object.Object) object.Object
- func (c *WsConn) Cost() int
- func (c *WsConn) Equals(other object.Object) object.Object
- func (c *WsConn) GetAttr(name string) (object.Object, bool)
- func (c *WsConn) Inspect() string
- func (c *WsConn) Interface() interface{}
- func (c *WsConn) IsTruthy() bool
- func (c *WsConn) MarshalJSON() ([]byte, error)
- func (c *WsConn) Read(ctx context.Context, args ...object.Object) object.Object
- func (c *WsConn) RunOperation(opType op.BinaryOpType, right object.Object) object.Object
- func (c *WsConn) SetAttr(name string, value object.Object) error
- func (c *WsConn) Type() object.Type
- func (c *WsConn) Value() *websocket.Conn
- func (c *WsConn) Write(ctx context.Context, args ...object.Object) object.Object
Constants ¶
View Source
const WS_CONN = object.Type("ws.conn")
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WsConn ¶
type WsConn struct {
// contains filtered or unexported fields
}
func (*WsConn) MarshalJSON ¶
func (*WsConn) RunOperation ¶
Click to show internal directories.
Click to hide internal directories.