services

package
v0.0.0-...-810d887 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContent

func GetContent(cluster string, filePath string, headerRange string) ([]byte, error)

func GetFileSizeFromFilePathCluster

func GetFileSizeFromFilePathCluster(cluster string, filePath string) int

func GetOpByType

func GetOpByType(fileType string, fileName string) string

Types

type FileList

type FileList struct {
	Cluster string
	Folder  string
}

func (*FileList) Get

func (this *FileList) Get() ([]ServiceFileStatus, error)

type ServiceFileStatus

type ServiceFileStatus struct {
	Group            string `json:"group"`
	Length           int    `json:"length"`
	ModificationTime string `json:"modificationTime"`
	Owner            string `json:"owner"`
	PathSuffix       string `json:"pathSuffix"`
	Permission       string `json:"permission"`
	Type             string `json:"type"`
	Op               string `json:"op"`
}

Jump to

Keyboard shortcuts

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