Documentation ¶
Index ¶
- func GetUnixAddress(basepath string) *net.UnixAddr
- type ModuleProc
- type Server
- func (s *Server) Bootstrap(basepath string) error
- func (s *Server) CloseSocket() error
- func (s *Server) FindModules() error
- func (s *Server) ListenSignal()
- func (s *Server) ListenUnixConnection()
- func (s *Server) LoadModules() error
- func (s *Server) OpenSocket() error
- func (s *Server) PingModules()
- func (s *Server) Run()
- func (s *Server) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUnixAddress ¶
Types ¶
type ModuleProc ¶
type Server ¶
type Server struct { Modules []string ModuleProcs []*ModuleProc SocketListen *net.UnixListener SocketAddress *net.UnixAddr // contains filtered or unexported fields }
func CreateServer ¶
func (*Server) CloseSocket ¶
func (*Server) FindModules ¶
func (*Server) ListenSignal ¶
func (s *Server) ListenSignal()
func (*Server) ListenUnixConnection ¶
func (s *Server) ListenUnixConnection()
func (*Server) LoadModules ¶
func (*Server) OpenSocket ¶
func (*Server) PingModules ¶
func (s *Server) PingModules()
Click to show internal directories.
Click to hide internal directories.