Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + var DefaultWriter = func(resp *restful.Response, event *operator.Event) bool + func CopyMap(s operator.M) (r operator.M) + func GetMongodbTank(name string) func() operator.Tank + func GetZookeeperTank(name string) func() operator.Tank + func MarkProcess(f restful.RouteFunction) restful.RouteFunction + func NewWatchServer(req *restful.Request, resp *restful.Response, tank operator.Tank) (*watchServer, error) + func ReturnRest(resp *RestResponse) + type ExtraField struct + func NewExtra(raw string) *ExtraField + func (ef *ExtraField) GetStr() (string, error) + func (ef *ExtraField) Unmarshal(r interface{}) (err error) + type Manager struct + func NewManager(sep int64, title string) *Manager + func (m *Manager) Add(t time.Duration) + func (m *Manager) Flush() + func (m *Manager) Start() + type RestResponse struct + Data interface{} + ErrCode int + Extra map[string]interface{} + HTTPCode int + Message string + Resp *restful.Response + WrapFunc func([]byte) []byte