util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AqlItem

type AqlItem struct {
	Repo       string         `json:"repo"`
	Path       string         `json:"path"`
	Name       string         `json:"name"`
	Size       int            `json:"size"`
	Modified   time.Time      `json:"modified"`
	ModifiedBy string         `json:"modified_by"`
	Stats      []aqlItemStats `json:"stats"`
}

func (*AqlItem) GetFullPath

func (i *AqlItem) GetFullPath() string

type AqlResult

type AqlResult struct {
	Results []*AqlItem `json:"results"`
}

type AqlSearchCriteria

type AqlSearchCriteria struct {
	Repos              []string
	PropertyFilter     []KeyValuePair
	ModifiedFrom       time.Time
	ModifiedTo         time.Time
	LastDownloadedFrom time.Time
	LastDownloadedTo   time.Time
}

func (*AqlSearchCriteria) GetJson

func (c *AqlSearchCriteria) GetJson() ([]byte, error)

type KeyValuePair

type KeyValuePair struct {
	Key   string
	Value string
}

type LogIoWriter

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

func (*LogIoWriter) Write

func (w *LogIoWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳