cmd

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

EsClient is Elasticsearch Client

Functions

func Execute

func Execute()

Execute ist the Root Cmd Execution

func SetVersion added in v0.1.6

func SetVersion(v *Version)

SetVersion sets the version

Types

type Document

type Document struct {
	ID        string    `json:"id,omitempty"`
	FilePath  string    `json:"filepath,omitempty"`
	Name      string    `json:"name,omitempty"`
	Extension string    `json:"extension,omitempty"`
	Path      string    `json:"path,omitempty"`
	Size      int64     `json:"size,omitempty"`
	Mode      string    `json:"filemode,omitempty"`
	ModeNum   string    `json:"filemode_num,omitempty"`
	ModTime   time.Time `json:"mod_time,omitempty"`
	IsDir     bool      `json:"is_dir,omitempty"`
	Data      string    `json:"data,omitempty"`
}

Document Struct

type Version added in v0.1.6

type Version struct {
	Version   string
	Commit    string
	BuildTime string
}

Version represents the version

Jump to

Keyboard shortcuts

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