Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadChecker ¶
UploadChecker is a callback type which is executed to verify the beginning of a transaction
type UploadHandler ¶
type UploadHandler func(ctx context.Context, uploaded serialize.BinaryData, args wamp.List, kwargs, details wamp.Dict) *client.InvokeResult
UploadHandler is a callback type which is executed when the file upload has finished and the transaction should be executed.
type Uploader ¶
type Uploader interface { Add(endpoint string, begin UploadChecker, handler UploadHandler) error Destroy(endpoint string) error Stop() }
Uploader is the main interface, allowing the user to create and delete data upload endpoints
Click to show internal directories.
Click to hide internal directories.