Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientHandler ¶
type ClientHandler struct {
// contains filtered or unexported fields
}
ClientHandler implements ClientSession.
func NewClientSession ¶ added in v0.1.1
func NewClientSession(conn net.Conn, minterFn ContextMinterFunc) *ClientHandler
type ContextMinterFunc ¶ added in v0.1.1
type ServerHandler ¶
type ServerHandler struct {
// contains filtered or unexported fields
}
ServerHandler implements ServerSession.
func NewServerSession ¶
func NewServerSession(conn net.Conn, services *ServerServices) *ServerHandler
func (*ServerHandler) Handle ¶
func (s *ServerHandler) Handle()
func (*ServerHandler) Stop ¶
func (s *ServerHandler) Stop()
type ServerServices ¶ added in v0.1.1
type ServerSession ¶
type ServerSession interface { Handle() Stop() }
Click to show internal directories.
Click to hide internal directories.