results

package
v0.0.0-...-43fbf64 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(c *context.Ctx, parametersRaw *json.RawMessage) *context.Response

func GetRoutes

func GetRoutes() map[string]func(*context.Ctx, *json.RawMessage) *context.Response
func Search(c *context.Ctx, parametersRaw *json.RawMessage) *context.Response

Types

type GetParameters

type GetParameters struct {
	Id string `json:"id"`
}

type Result

type Result struct {
	Id                string    `json:"id"`
	SHA256            string    `json:"sha256"`
	SchemaVersion     string    `json:"schema_version"`
	UserId            string    `json:"user_id"`
	SourceId          []string  `json:"source_id"`
	SourceTag         []string  `json:"source_tag"`
	ServiceName       string    `json:"service_name"`
	ServiceVersion    string    `json:"service_version"`
	ServiceConfig     string    `json:"service_config"`
	ObjectCategory    []string  `json:"object_category"`
	ObjectType        string    `json:"object_type"`
	Results           string    `json:"results"`
	Tags              []string  `json:"tags"`
	StartedDateTime   time.Time `json:"started_date_time"`
	FinishedDateTime  time.Time `json:"finished_date_time"`
	WatchguardStatus  string    `json:"watchguard_status"`
	WatchguardLog     []string  `json:"watchguard_log"`
	WatchguardVersion string    `json:"watchguard_version"`
}

type SearchParameters

type SearchParameters struct {
	SHA256        string
	ServiceName   string
	StartedStart  string
	StartedStop   string
	FinishedStart string
	FinishedStop  string
	Limit         string
	Filtering     string
}

Jump to

Keyboard shortcuts

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