Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dir ¶
type Dir struct {
Path string `json:"path" pkl:"path"`
Owner string `json:"owner" pkl:"owner"`
Group string `json:"group" pkl:"group"`
Mode string `json:"mode" pkl:"mode"`
}
func (*Dir) MarshalJSON ¶
type File ¶
type File struct {
Path string `json:"path" pkl:"path"`
Owner string `json:"owner" pkl:"owner"`
Group string `json:"group" pkl:"group"`
Mode string `json:"mode" pkl:"mode"`
Digest string `json:"digest"`
Offset int `json:"offset"`
Csize int `json:"csize"`
Size int `json:"size"`
}
func (*File) MarshalJSON ¶
type Signature ¶
type Signature struct {
FingerPrint string `json:"fingerprint"`
SKI string `json:"ski"`
Algo string `json:"algo"`
Value string `json:"value"`
}
func NewSignature ¶
func NewSignature() *Signature
func (*Signature) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.