Documentation
¶
Index ¶
Constants ¶
View Source
const ( BasePath = "/Api/PvfUtiltiy" PathGetFileContent = BasePath + "/GetFileContent" PathImportFile = BasePath + "/ImportFile" PathGetItemInfos = BasePath + "/GetItemInfos" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemSource ¶
type FileSystemSource struct {
// contains filtered or unexported fields
}
func NewFileSystemSource ¶
func NewFileSystemSource(rootDir string) *FileSystemSource
func (*FileSystemSource) GetFileContent ¶
func (p *FileSystemSource) GetFileContent(filepath string) (string, error)
func (*FileSystemSource) SaveFileContent ¶
func (p *FileSystemSource) SaveFileContent(filepath, content string) error
type PvfUtilitySource ¶
type PvfUtilitySource struct {
// contains filtered or unexported fields
}
func NewPvfUtilitySource ¶
func NewPvfUtilitySource(host string) *PvfUtilitySource
func (*PvfUtilitySource) GetFileContent ¶
func (p *PvfUtilitySource) GetFileContent(path string) (string, error)
func (*PvfUtilitySource) GetItemInfos ¶
func (p *PvfUtilitySource) GetItemInfos(paths []string) (map[int]string, error)
func (*PvfUtilitySource) SaveFileContent ¶
func (p *PvfUtilitySource) SaveFileContent(path, content string) error
Click to show internal directories.
Click to hide internal directories.