Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Chris Lu
e5fc35ed0c
change server address from string to a type
3 years ago
Chris Lu
5a0f92423e
use grpc and jwt
3 years ago
Chris Lu
6daa932f5c
refactoring to get master function, instead of passing master values directly
this will enable retrying later
4 years ago
Chris Lu
1b3a80dd3d
non-fatal error
4 years ago
Chris Lu
3080c197e3
rename UnCompressData to DecompressData
5 years ago
Chris Lu
e912fd15e3
renaming
5 years ago
Chris Lu
6ff9e2835e
filer: skip resizing image if width or height larger than original image
fix https://github.com/chrislusf/seaweedfs/issues/1239#issuecomment-602140779
5 years ago
Chris Lu
308688c8d0
filer: add back image resizing capability
5 years ago
Chris Lu
f251d03673
refactoring
5 years ago
Chris Lu
11372dd548
refactoring
5 years ago
Chris Lu
d848d08944
use public url also for deletions
5 years ago
j.laycock
6fc6322c90
Change joeslay paths to chrislusf paths
5 years ago
j.laycock
595a1beff0
Swap imports to use joeslay
5 years ago
Chris Lu
e5506152c0
refactoring
6 years ago
Chris Lu
e85048bcdc
http exhaust and close response body
6 years ago
Chris Lu
77b9af531d
adding grpc mutual tls
6 years ago
Chris Lu
91ac2e0dd9
go fmt
6 years ago
Chris Lu
ff66269b62
use grpc to replace http APIs for batch volume id lookup and batch delete
1. remove batch volume id lookup http API /vol/lookup
2. remove batch delete http API /delete
6 years ago
Chris Lu
5ce6bbf076
directory structure change to work with glide
glide has its own requirements. My previous workaround caused me some
code checkin errors. Need to fix this.
9 years ago
chrislusf
e921cb1a9d
format changes
9 years ago
tnextday
b177afc326
`weed download` command use stream download the large file.
9 years ago
tnextday
aa44028b46
update
9 years ago
tnextday
f240c57f16
Rename ChunkManifest.GetData to ChunkManifest.Marshal
9 years ago
tnextday
82e6d67ccc
update
9 years ago
tnextday
daac5de1ba
more check in `http_util.Delete`
add status code in `DeleteResult` struct
operation.DeleteFiles maybe unsafe, so `ChunkManifest.DeleteChunks` manually delete each chunks
9 years ago
tnextday
662915e691
Delete all chunks when delete a ChunkManifest
LoadChunkManifest can uncompress buffer
move compress.go from storage to operation because of import cycle
MakeFile add cross complete command
9 years ago
tnextday
d0e2475ece
`FilePart.Upload` use base name instead of full path
fix chunked file download error
9 years ago
tnextday
2c0a7fe75e
complete submit chunked file
9 years ago
tnextday
6b0894d806
update ChunkedFile to seekable reader, so we can use io.* to read data
9 years ago
tnextday
f825d23789
fix build error
9 years ago
tnextday
1817864a45
add chunk file helper to support large file
9 years ago