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

package statusEndpoints

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

Index

Package Files

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

func FlatListEndpointTimelines Uses

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

FlatListEndpointTimelines returns a list of metric timelines

func HandleSubrouter Uses

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

HandleSubrouter contains the different paths to follow during subrouting

func ListEndpointTimelines Uses

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

ListEndpointTimelines returns a list of metric timelines

func Options Uses

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

Options implements the option request on resource

type DataOutput Uses

type DataOutput struct {
    Report        string            `bson:"report"`
    Timestamp     string            `bson:"timestamp"`
    EndpointGroup string            `bson:"endpoint_group"`
    Service       string            `bson:"service"`
    Hostname      string            `bson:"host"`
    Status        string            `bson:"status"`
    DateInt       string            `bson:"date_integer"`
    Info          map[string]string `bson:"info"`
}

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 statusEndpoints imports 17 packages (graph) and is imported by 3 packages. Updated 2020-07-11. Refresh now. Tools for package owners.