kstruct

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileNode

type FileNode struct {
	XMLName xml.Name `xml:"file"`
	Name    string   `xml:"name,attr"`
	DstPath string   `xml:"dst_path"`
	DstMD5  string   `xml:"dst_md5"`
	DstSize string   `xml:"dst_size"`
}

type FilePath

type FilePath struct {
	XMLName xml.Name   `xml:"list"`
	NrFiles string     `xml:"nr_files"`
	SzTotal string     `xml:"sz_total"`
	File    []FileNode `xml:"file"`
}

type MetaData

type MetaData struct {
	CreatedAt int64 `json:"createdAt"`
	Files     []struct {
		DPath      string `json:"dpath"`
		SPath      string `json:"spath"`
		Path       string `json:"path"`
		PathC      string `json:"pathc"`
		PathH      string `json:"pathh"`
		SHA1       string `json:"sha1"`
		DSHA1      string `json:"dsha1"`
		SSHA1      string `json:"ssha1"`
		Size       int64  `json:"size"`
		SSize      int64  `json:"ssize"`
		HashedPath string `json:"hashed_path"`
		HashedSHA1 string `json:"hashed_sha1"`
	} `json:"files"`
}

Jump to

Keyboard shortcuts

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