Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MortalService ¶
type MortalService struct {
// contains filtered or unexported fields
}
MortalService can be killed at any time.
func NewMortalService ¶
func NewMortalService(network, address string, connectionCallback func(net.Conn) error) *MortalService
NewMortalService creates a new MortalService
func (*MortalService) Stop ¶
func (l *MortalService) Stop()
Stop will kill our listener and all it's connections
Click to show internal directories.
Click to hide internal directories.