Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonHandler ¶
type DaemonHandler struct {
// contains filtered or unexported fields
}
DaemonHandler is used to communicate with the daemon over HTTP.
func NewDaemonHandler ¶
func NewDaemonHandler(cmdPath string) *DaemonHandler
NewDaemonHandler creates DaemonHandler.
func (*DaemonHandler) Logger ¶
func (handler *DaemonHandler) Logger(logger *ttlog.Logger) *DaemonHandler
Logger sets logger for DaemonHandler.
func (*DaemonHandler) ServeHTTP ¶
func (handler *DaemonHandler) ServeHTTP(wr http.ResponseWriter, req *http.Request)
ServeHTTP handles requests to the tt daemon.
Click to show internal directories.
Click to hide internal directories.