graph

package
v3.15.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2018 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 4

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL