Documentation ¶
Index ¶
- Constants
- Variables
- func NewDNSnamespace() *core.Namespace
- func NewTcpNamespace() *core.Namespace
- type TcpConn
- func (conn *TcpConn) Equal(ctx *core.Context, other core.Value, alreadyCompared map[uintptr]uintptr, ...) bool
- func (conn *TcpConn) GetGoMethod(name string) (*core.GoFunction, bool)
- func (conn *TcpConn) IsMutable() bool
- func (conn *TcpConn) PrettyPrint(w *bufio.Writer, config *core.PrettyPrintConfig, depth int, ...)
- func (conn *TcpConn) Prop(ctx *core.Context, name string) core.Value
- func (*TcpConn) PropertyNames(ctx *core.Context) []string
- func (*TcpConn) SetProp(ctx *core.Context, name string, value core.Value) error
- func (conn *TcpConn) ToSymbolicValue(ctx *core.Context, encountered map[uintptr]symbolic.Value) (symbolic.Value, error)
Constants ¶
View Source
const ( TCP_SIMUL_CONN_TOTAL_LIMIT_NAME = "tcp/simul-connection" DEFAULT_TCP_DIAL_TIMEOUT = 10 * time.Second DEFAULT_TCP_KEEP_ALIVE_INTERVAL = 10 * time.Second DEFAULT_TCP_BUFF_SIZE = 1 << 16 OPTION_DOES_NOT_EXIST_FMT = "option '%s' does not exist" )
View Source
const (
COOKIE_KV_KEY = "__cookies"
)
Variables ¶
View Source
var (
ErrInvalidPersistedCookies = errors.New("invalid persisted cookies")
)
Functions ¶
func NewDNSnamespace ¶
func NewTcpNamespace ¶
Types ¶
type TcpConn ¶
type TcpConn struct {
// contains filtered or unexported fields
}
func (*TcpConn) GetGoMethod ¶
func (conn *TcpConn) GetGoMethod(name string) (*core.GoFunction, bool)
func (*TcpConn) PrettyPrint ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.