argo-web-api: github.com/ARGOeu/argo-web-api/app/statusServices Index | Files

package statusServices

import "github.com/ARGOeu/argo-web-api/app/statusServices"

Index

Package Files

controller.go model.go routing.go view.go

func HandleSubrouter Uses

func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)

HandleSubrouter contains the different paths to follow during subrouting

func ListServiceTimelines Uses

func ListServiceTimelines(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)

ListMetricTimelines returns a list of metric timelines

func Options Uses

func Options(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)

type DataOutput Uses

type DataOutput struct {
    Report        string `bson:"report"`
    Timestamp     string `bson:"timestamp"`
    EndpointGroup string `bson:"endpoint_group"`
    Service       string `bson:"service"`
    Status        string `bson:"status"`
    DateInteger   string `bson:"date_integer"`
}

DataOutput struct holds the queried data from datastore

type InputParams Uses

type InputParams struct {
    // contains filtered or unexported fields
}

InputParams struct holds as input all the url params of the request

Package statusServices imports 16 packages (graph) and is imported by 2 packages. Updated 2018-12-11. Refresh now. Tools for package owners.