Documentation ¶
Overview ¶
putlib document
putlib project main.go
Index ¶
- func InitKey() []byte
- type Info
- type PutConfig
- func (pc *PutConfig) AddressOf(input io.Reader) (string, error)
- func (pc *PutConfig) AddressOfFile(file string) (string, error)
- func (pc *PutConfig) Upload(url string, file string) (string, string)
- func (pc *PutConfig) UploadFile(url string, path string) (string, error)
- func (pc *PutConfig) UploadMultipart(url string, f io.Reader, path string) (string, error)
- func (pc *PutConfig) ValidateAndPrint(h string, file string, output string) (string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PutConfig ¶
type PutConfig struct { JsonOutput bool ForceGenerateThumbnails bool // contains filtered or unexported fields }
func (*PutConfig) UploadFile ¶
func (*PutConfig) UploadMultipart ¶
Click to show internal directories.
Click to hide internal directories.