github.com/go-graphite/carbonapi@v0.17.0/zipper/protocols/graphite/msgpack/type.go (about)

     1  package msgpack
     2  
     3  //go:generate msgp
     4  
     5  type GraphiteFetchResponse struct {
     6  	Start          uint32        `msg:"start"`
     7  	End            uint32        `msg:"end"`
     8  	Step           uint32        `msg:"step"`
     9  	Name           string        `msg:"name"`
    10  	PathExpression string        `msg:"pathExpression"`
    11  	Values         []interface{} `msg:"values"`
    12  }
    13  
    14  type MultiGraphiteFetchResponse []GraphiteFetchResponse
    15  
    16  type GraphiteGlobResponse struct {
    17  	IsLeaf bool   `msg:"isLeaf"`
    18  	Path   string `msg:"path"`
    19  }
    20  
    21  type MultiGraphiteGlobResponse []GraphiteGlobResponse