Documentation ¶
Overview ¶
Package wsmock implements mock websocket server
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoServer ¶
type EchoServer struct {
// contains filtered or unexported fields
}
func NewEchoServer ¶
func NewEchoServer(log *logrus.Entry, tls bool) *EchoServer
func (*EchoServer) Certificate ¶
func (s *EchoServer) Certificate() *x509.Certificate
func (*EchoServer) URL ¶
func (s *EchoServer) URL() *url.URL
type PeriodicServer ¶
type PeriodicServer struct {
// contains filtered or unexported fields
}
func NewPeriodicServer ¶
func NewPeriodicServer(cfg PeriodicServerConfig, log *logrus.Entry, tls bool) *PeriodicServer
func (*PeriodicServer) Certificate ¶
func (p *PeriodicServer) Certificate() *x509.Certificate
func (*PeriodicServer) URL ¶
func (p *PeriodicServer) URL() *url.URL
type PeriodicServerConfig ¶
Click to show internal directories.
Click to hide internal directories.