Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartGdbTestServer ¶
func StartGdbTestServer() *testGdbEchoServer
Types ¶
type ConnPool ¶
type ConnPool struct {
// contains filtered or unexported fields
}
func NewConnPool ¶
func (*ConnPool) Get ¶
func (p *ConnPool) Get() (*ConnWebSocket, error)
func (*ConnPool) Put ¶
func (p *ConnPool) Put(cn *ConnWebSocket)
type ConnWebSocket ¶
type ConnWebSocket struct {
// contains filtered or unexported fields
}
func NewConnWebSocket ¶
func NewConnWebSocket(opt *Options) (*ConnWebSocket, error)
func (*ConnWebSocket) Close ¶
func (cn *ConnWebSocket) Close()
func (*ConnWebSocket) CreatedAt ¶
func (cn *ConnWebSocket) CreatedAt() time.Time
func (*ConnWebSocket) String ¶
func (cn *ConnWebSocket) String() string
func (*ConnWebSocket) SubmitRequestAsync ¶
func (cn *ConnWebSocket) SubmitRequestAsync(request *graphsonv3.Request) (*graphsonv3.ResponseFuture, error)
func (*ConnWebSocket) UsedAt ¶
func (cn *ConnWebSocket) UsedAt() time.Time
type Options ¶
type Options struct {
Dialer func(*Options) (*ConnWebSocket, error)
GdbUrl string
Username string
Password string
PoolSize int
PoolTimeout time.Duration
AliveCheckInterval time.Duration
MaxConnAge time.Duration
ReadTimeout time.Duration
WriteTimeout time.Duration
PingInterval time.Duration
MaxInProcessPerConn int
MaxSimultaneousUsagePerConn int
}
Click to show internal directories.
Click to hide internal directories.