Documentation ¶
Index ¶
- type SearchResources
- func (r SearchResources) Auditable() map[string]interface{}
- func (r *SearchResources) Fill(req *http.Request) (err error)
- func (r SearchResources) GetDumpRaw() string
- func (r SearchResources) GetFrom() int
- func (r SearchResources) GetModuleAggs() []string
- func (r SearchResources) GetNamespaceAggs() []string
- func (r SearchResources) GetQuery() string
- func (r SearchResources) GetSize() int
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
Click to show internal directories.
Click to hide internal directories.