request

package
v0.0.0-...-d0cc832 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchResources

type SearchResources struct {
	Q             string
	From          int
	Size          int
	NamespaceAggs []string
	ModuleAggs    []string
	DumpRaw       string
}

func NewSearchListResources

func NewSearchListResources() *SearchResources

NewSearchListResources request

func (SearchResources) Auditable

func (r SearchResources) Auditable() map[string]interface{}

Auditable returns all auditable/loggable parameters

func (*SearchResources) Fill

func (r *SearchResources) Fill(req *http.Request) (err error)

Fill processes request and fills internal variables

func (SearchResources) GetDumpRaw

func (r SearchResources) GetDumpRaw() string

func (SearchResources) GetFrom

func (r SearchResources) GetFrom() int

func (SearchResources) GetModuleAggs

func (r SearchResources) GetModuleAggs() []string

func (SearchResources) GetNamespaceAggs

func (r SearchResources) GetNamespaceAggs() []string

func (SearchResources) GetQuery

func (r SearchResources) GetQuery() string

func (SearchResources) GetSize

func (r SearchResources) GetSize() int

Jump to

Keyboard shortcuts

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