Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphService ¶
type GraphService interface { // Vacuums index of graph VacuumIndex(*VacuumIndexConfig) *ResultOfVacuumIndex }
Main service for calling of RESTful service on MySqlApi
func NewGraphService ¶
func NewGraphService(config *GraphServiceConfig) GraphService
type GraphServiceConfig ¶
type GraphServiceConfig struct {
*oHttp.RestfulClientConfig
}
Configurations for constructing "GraphService"
type ResultOfVacuumIndex ¶
type ResultOfVacuumIndex struct { BeforeTime ojson.JsonTime `json:"before_time"` AffectedRows *struct { Endpoints uint64 `json:"endpoints"` Tags uint64 `json:"tags"` Counters uint64 `json:counters` } `json:"affected_rows"` }
func (*ResultOfVacuumIndex) GetBeforeTime ¶
func (self *ResultOfVacuumIndex) GetBeforeTime() time.Time
func (*ResultOfVacuumIndex) String ¶
func (self *ResultOfVacuumIndex) String() string
type VacuumIndexConfig ¶
type VacuumIndexConfig struct {
BeforeDays int
}
Click to show internal directories.
Click to hide internal directories.