Documentation ¶
Index ¶
- func Write(svr *Service, res *GeneralResponse, w http.ResponseWriter, r *http.Request)
- type ErrorInfo
- type GeneralResponse
- type GetCataLogInfo
- type Service
- func (svr *Service) GetCataLog() (reps []GetCataLogInfo)
- func (svr *Service) GetCataLogInfo(w http.ResponseWriter, r *http.Request)
- func (svr *Service) GetLogTail(w http.ResponseWriter, r *http.Request)
- func (svr *Service) RunDashboardServer(addr string, port int) (err error)
- func (srv *Service) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Write ¶
func Write(svr *Service, res *GeneralResponse, w http.ResponseWriter, r *http.Request)
Types ¶
type GeneralResponse ¶
type GetCataLogInfo ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
var ServerService *Service
func NewService ¶
func (*Service) GetCataLog ¶
func (svr *Service) GetCataLog() (reps []GetCataLogInfo)
func (*Service) GetCataLogInfo ¶
func (svr *Service) GetCataLogInfo(w http.ResponseWriter, r *http.Request)
func (*Service) GetLogTail ¶
func (svr *Service) GetLogTail(w http.ResponseWriter, r *http.Request)
func (*Service) RunDashboardServer ¶
Click to show internal directories.
Click to hide internal directories.