Documentation ¶
Index ¶
- Variables
- func GetLast(endpoint, counter string) *cmodel.RRDData
- func GetLastRaw(endpoint, counter string) *cmodel.RRDData
- func HandleItems(items []*cmodel.GraphItem) error
- func Start()
- type Graph
- func (this *Graph) BatchQuery(params []cmodel.GraphQueryParam, resps *cmodel.GraphQueryResponseList) error
- func (this *Graph) GetRrd(key string, rrdfile *g.File) (err error)
- func (this *Graph) Info(param cmodel.GraphInfoParam, resp *cmodel.GraphInfoResp) error
- func (this *Graph) Last(param cmodel.GraphLastParam, resp *cmodel.GraphLastResp) error
- func (this *Graph) LastBatch(params []cmodel.GraphLastParam, resps *cmodel.GraphLastRespList) error
- func (this *Graph) LastRaw(param cmodel.GraphLastParam, resp *cmodel.GraphLastResp) error
- func (this *Graph) Ping(req cmodel.NullRpcRequest, resp *cmodel.SimpleRpcResponse) error
- func (this *Graph) Query(param cmodel.GraphQueryParam, resp *cmodel.GraphQueryResponse) error
- func (this *Graph) Send(items []*cmodel.GraphItem, resp *cmodel.SimpleRpcResponse) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Close_chan, Close_done_chan chan int
Functions ¶
Types ¶
type Graph ¶
type Graph int
func (*Graph) BatchQuery ¶
func (this *Graph) BatchQuery(params []cmodel.GraphQueryParam, resps *cmodel.GraphQueryResponseList) error
func (*Graph) Info ¶
func (this *Graph) Info(param cmodel.GraphInfoParam, resp *cmodel.GraphInfoResp) error
func (*Graph) Last ¶
func (this *Graph) Last(param cmodel.GraphLastParam, resp *cmodel.GraphLastResp) error
func (*Graph) LastBatch ¶
func (this *Graph) LastBatch(params []cmodel.GraphLastParam, resps *cmodel.GraphLastRespList) error
func (*Graph) LastRaw ¶
func (this *Graph) LastRaw(param cmodel.GraphLastParam, resp *cmodel.GraphLastResp) error
func (*Graph) Ping ¶
func (this *Graph) Ping(req cmodel.NullRpcRequest, resp *cmodel.SimpleRpcResponse) error
func (*Graph) Query ¶
func (this *Graph) Query(param cmodel.GraphQueryParam, resp *cmodel.GraphQueryResponse) error
Click to show internal directories.
Click to hide internal directories.