Documentation
¶
Index ¶
- type Config
- type Server
- func (a Server) AppFileName() (string, error)
- func (d *Server) AppName() (string, error)
- func (a Server) ConfigTemplateContent() string
- func (d *Server) Restart(event_name string) error
- func (a *Server) SetDefault() error
- func (a Server) SignalNotify() chan os.Signal
- func (a *Server) StartProgram()
- func (d *Server) StopProgram() error
- func (d Server) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { *Config // contains filtered or unexported fields }
func (Server) AppFileName ¶
func (Server) ConfigTemplateContent ¶
func (*Server) SetDefault ¶
func (Server) SignalNotify ¶
func (*Server) StartProgram ¶
func (a *Server) StartProgram()
func (*Server) StopProgram ¶
Click to show internal directories.
Click to hide internal directories.