Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tus/tusd
/ types & classes
Types & classes
140 in github.com/tus/tusd
⨍
Functions
707
◇
Types & classes
140
↓ 2 callers
TypeAlias
HookType
pkg/hooks/hooks.go:91
↓ 1 callers
Class
HookHandler
examples/hooks/grpc/server.py:8
↓ 1 callers
TypeAlias
draftVersion
pkg/handler/unrouted_handler.go:22
↓ 1 callers
TypeAlias
keyType
pkg/handler/context_test.go:71
Interface
AzBlob
pkg/azurestore/azureservice.go:75
Struct
AzConfig
pkg/azurestore/azureservice.go:66
Interface
AzService
pkg/azurestore/azureservice.go:62
Struct
AzUpload
pkg/azurestore/azurestore.go:29
Struct
AzureStore
pkg/azurestore/azurestore.go:18
Struct
BlockBlob
pkg/azurestore/azureservice.go:91
Struct
ChmodPermsValue
cmd/tusd/cli/flags.go:100
Struct
Collector
pkg/prometheuscollector/prometheuscollector.go:47
Interface
ConcatableUpload
pkg/handler/datastore.go:145
Interface
ConcaterDataStore
ConcaterDataStore is the interface required to be implemented if the Concatenation extension should be enabled. Only in this case, the handler will pa
pkg/handler/datastore.go:141
Struct
Config
Config provides a way to configure the Handler depending on your needs.
pkg/handler/config.go:13
Interface
ContentServerDataStore
ContentServerDataStore is the interface for DataStores that can serve content directly. When the handler serves a GET request, it will pass the reques
pkg/handler/datastore.go:210
Struct
CorsConfig
CorsConfig provides a way to customize the the handling of Cross-Origin Resource Sharing (CORS). More details about CORS are available at https://deve
pkg/handler/config.go:113
Interface
DataStore
DataStore is the base interface for storages to implement. It provides functions to create new uploads and fetch existing ones. Note: the context val
pkg/handler/datastore.go:113
Struct
Error
Error represents an error with the intent to be sent in the HTTP response to the client. Therefore, it also contains a HTTPResponse, next to an error
pkg/handler/error.go:6
Struct
ErrorReader
pkg/s3store/s3store_part_producer_test.go:20
Struct
ErrorsTotalMap
ErrorsTotalMap stores the counters for the different HTTP errors.
pkg/handler/metrics.go:79
Struct
ErrorsTotalMapEntry
pkg/handler/metrics.go:84
Struct
Event
Event represents an event from tusd which can be handled by the application.
pkg/hooks/grpc/proto/hook.pb.go:90
Struct
FileHook
pkg/hooks/file/file.go:20
Struct
FileInfo
FileInfo contains information about a single upload resource.
pkg/hooks/grpc/proto/hook.pb.go:150
Struct
FileInfo
FileInfo contains information about a single upload resource.
pkg/handler/datastore.go:12
Struct
FileInfoChanges
FileInfoChanges collects changes the should be made to a FileInfo object. This can be done using the PreUploadCreateCallback to modify certain propert
pkg/hooks/grpc/proto/hook.pb.go:279
Struct
FileInfoChanges
FileInfoChanges collects changes the should be made to a FileInfo struct. This can be done using the PreUploadCreateCallback to modify certain propert
pkg/handler/datastore.go:61
Struct
FileLocker
See the handler.DataStore interface for documentation about the different methods.
pkg/filelocker/filelocker.go:34
Struct
FileStore
See the handler.DataStore interface for documentation about the different methods.
pkg/filestore/filestore.go:42
Struct
FlagGroupSet
internal/grouped_flags/grouped_flags.go:19
Interface
FullDataStore
go:generate mockgen -package handler_test -source utils_test.go -destination=handler_mock_test.go FullDataStore is an interface combining most interfa
pkg/handler/utils_test.go:24
Interface
FullLock
pkg/handler/utils_test.go:42
Interface
FullLocker
pkg/handler/utils_test.go:38
Interface
FullUpload
pkg/handler/utils_test.go:31
Interface
GCSAPI
GCSAPI is an interface composed of all the necessary GCS operations that are required to enable the tus protocol to work with Google's cloud storage.
pkg/gcsstore/gcsservice.go:62
Struct
GCSComposeParams
pkg/gcsstore/gcsservice.go:29
Struct
GCSFilterParams
pkg/gcsstore/gcsservice.go:40
Struct
GCSObjectParams
pkg/gcsstore/gcsservice.go:21
Interface
GCSReader
GCSReader implements cloud.google.com/go/storage.Reader. It is used to read Google Cloud storage objects. TODO: Remain, Size, ContentType seem to only
pkg/gcsstore/gcsservice.go:51
Struct
GCSService
GCSService holds the cloud.google.com/go/storage client as well as its associated context. Closures are used as minimal wrappers around the Google Clo
pkg/gcsstore/gcsservice.go:77
Struct
GCSStore
See the handler.DataStore interface for documentation about the different methods.
pkg/gcsstore/gcsstore.go:32
Struct
GrpcHook
pkg/hooks/grpc/grpc.go:24
TypeAlias
HTTPHeader
pkg/handler/http.go:21
Class
HTTPHookHandler
examples/hooks/http/server.py:8
Struct
HTTPRequest
HTTPRequest contains basic details of an incoming HTTP request.
pkg/hooks/grpc/proto/hook.pb.go:359
Struct
HTTPRequest
HTTPRequest contains basic details of an incoming HTTP request.
pkg/handler/http.go:10
Struct
HTTPResponse
HTTPResponse contains basic details of an outgoing HTTP response.
pkg/hooks/grpc/proto/hook.pb.go:529
Struct
HTTPResponse
HTTPResponse contains basic details of an outgoing HTTP response.
pkg/handler/http.go:24
Struct
Handler
Handler is a ready to use handler with routing
pkg/handler/handler.go:9
Struct
HookEvent
HookEvent represents an event from tusd which can be handled by the application.
pkg/handler/hooks.go:8
Class
HookHandler
The hook service definition.
examples/hooks/grpc/hook_pb2_grpc.py:76
Interface
HookHandler
HookHandler is the main inferface to be implemented by all hook backends.
pkg/hooks/hooks.go:30
Interface
HookHandlerClient
HookHandlerClient is the client API for HookHandler service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://
pkg/hooks/grpc/proto/hook_grpc.pb.go:24
Struct
HookHandlerPlugin
This is the implementation of plugin.Plugin so we can serve/consume this This has two methods: Server must return an RPC server for this plugin type.
pkg/hooks/plugin/plugin.go:137
Struct
HookHandlerRPC
Here is an implementation that talks over RPC
pkg/hooks/plugin/plugin.go:93
Struct
HookHandlerRPCServer
Here is the RPC server that HookHandlerRPC talks to, conforming to the requirements of net/rpc
pkg/hooks/plugin/plugin.go:113
Interface
HookHandlerServer
HookHandlerServer is the server API for HookHandler service. All implementations must embed UnimplementedHookHandlerServer for forward compatibility
pkg/hooks/grpc/proto/hook_grpc.pb.go:53
Class
HookHandlerServicer
The hook service definition.
examples/hooks/grpc/hook_pb2_grpc.py:45
Class
HookHandlerStub
The hook service definition.
examples/hooks/grpc/hook_pb2_grpc.py:28
Struct
HookRequest
HookRequest contains the information about the hook type, the involved upload, and causing HTTP request.
pkg/hooks/hooks.go:45
Struct
HookRequest
HookRequest contains the information about the hook type, the involved upload, and causing HTTP request.
pkg/hooks/grpc/proto/hook.pb.go:32
Struct
HookResponse
HookResponse is the response after a hook is executed.
pkg/hooks/hooks.go:53
Struct
HookResponse
HookResponse is the response after a hook is executed.
pkg/hooks/grpc/proto/hook.pb.go:435
Struct
HttpHook
pkg/hooks/http/http.go:23
Struct
InfiniteZeroReader
pkg/s3store/s3store_part_producer_test.go:13
Struct
InfoBlob
pkg/azurestore/azureservice.go:97
Interface
LengthDeclarableUpload
pkg/handler/datastore.go:163
Interface
LengthDeferrerDataStore
LengthDeferrerDataStore is the interface that must be implemented if the creation-defer-length extension should be enabled. The extension enables a cl
pkg/handler/datastore.go:159
Interface
Lock
Lock is the interface for a lock as returned from a Locker.
pkg/handler/datastore.go:180
Interface
Locker
Locker is the interface required for custom lock persisting mechanisms. Common ways to store this information is in memory, on disk or using an extern
pkg/handler/datastore.go:174
Struct
MemoryLocker
MemoryLocker persists locks using memory and therefore allowing a simple and cheap mechanism. Locks will only exist as long as this object is kept in
pkg/memorylocker/memorylocker.go:28
TypeAlias
MetaData
pkg/handler/datastore.go:9
Struct
Metrics
Metrics provides numbers about the usage of the tusd handler. Since these may be accessed from multiple goroutines, it is necessary to read and modify
pkg/handler/metrics.go:14
Struct
MockAzBlob
MockAzBlob is a mock of AzBlob interface.
pkg/azurestore/azurestore_mock_test.go:55
Struct
MockAzBlobMockRecorder
MockAzBlobMockRecorder is the mock recorder for MockAzBlob.
pkg/azurestore/azurestore_mock_test.go:61
Struct
MockAzService
MockAzService is a mock of AzService interface.
pkg/azurestore/azurestore_mock_test.go:17
Struct
MockAzServiceMockRecorder
MockAzServiceMockRecorder is the mock recorder for MockAzService.
pkg/azurestore/azurestore_mock_test.go:23
Struct
MockFullDataStore
MockFullDataStore is a mock of FullDataStore interface.
pkg/handler/handler_mock_test.go:17
Struct
MockFullDataStoreMockRecorder
MockFullDataStoreMockRecorder is the mock recorder for MockFullDataStore.
pkg/handler/handler_mock_test.go:23
Struct
MockFullLock
MockFullLock is a mock of FullLock interface.
pkg/handler/handler_mock_test.go:274
Struct
MockFullLockMockRecorder
MockFullLockMockRecorder is the mock recorder for MockFullLock.
pkg/handler/handler_mock_test.go:280
Struct
MockFullLocker
MockFullLocker is a mock of FullLocker interface.
pkg/handler/handler_mock_test.go:236
Struct
MockFullLockerMockRecorder
MockFullLockerMockRecorder is the mock recorder for MockFullLocker.
pkg/handler/handler_mock_test.go:242
Struct
MockFullUpload
MockFullUpload is a mock of FullUpload interface.
pkg/handler/handler_mock_test.go:112
Struct
MockFullUploadMockRecorder
MockFullUploadMockRecorder is the mock recorder for MockFullUpload.
pkg/handler/handler_mock_test.go:118
Struct
MockGCSAPI
MockGCSAPI is a mock of GCSAPI interface.
pkg/gcsstore/gcsstore_mock_test.go:111
Struct
MockGCSAPIMockRecorder
MockGCSAPIMockRecorder is the mock recorder for MockGCSAPI.
pkg/gcsstore/gcsstore_mock_test.go:117
Struct
MockGCSReader
MockGCSReader is a mock of GCSReader interface.
pkg/gcsstore/gcsstore_mock_test.go:17
Struct
MockGCSReaderMockRecorder
MockGCSReaderMockRecorder is the mock recorder for MockGCSReader.
pkg/gcsstore/gcsstore_mock_test.go:23
Struct
MockHookHandler
MockHookHandler is a mock of HookHandler interface.
pkg/hooks/hooks_mock_test.go:14
Struct
MockHookHandlerMockRecorder
MockHookHandlerMockRecorder is the mock recorder for MockHookHandler.
pkg/hooks/hooks_mock_test.go:20
Struct
MockReader
MockReader is an implementation of GCSReader.
pkg/gcsstore/gcsstore_test.go:108
Struct
MockS3API
MockS3API is a mock of S3API interface.
pkg/s3store/s3store_mock_test.go:16
Struct
MockS3API
MockS3API is a mock of S3API interface.
internal/s3log/s3log_mock_test.go:16
Struct
MockS3APIMockRecorder
MockS3APIMockRecorder is the mock recorder for MockS3API.
pkg/s3store/s3store_mock_test.go:22
Struct
MockS3APIMockRecorder
MockS3APIMockRecorder is the mock recorder for MockS3API.
internal/s3log/s3log_mock_test.go:22
Struct
MyHookHandler
Here is the implementation of our hook handler
examples/hooks/plugin/hook_handler.go:12
Struct
PluginHook
pkg/hooks/plugin/plugin.go:18
Struct
PutObjectInputMatcher
pkg/s3store/s3store_util_test.go:59
next →
1–100 of 140, ranked by callers