Documentation ¶
Overview ¶
Package server contains the core server functionality for Sleepy, including the RPC service, the embedded HTTP server for files uploaded via Sleepy, and an FTP server, containing a subset of functionality required for uploading files to Sleepy in an efficient manner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPHandler ¶
Types ¶
type Request ¶
type Request struct { Module string // Module is the name of the module that is to be called. Method string // Method is the method name to be called. Authkey string // Authkey is the authkey for the connecting user. Params interface{} // Parameters are the RPC method call parameters. }
Request represents the parameters of an RPC call to Sleepy.
Click to show internal directories.
Click to hide internal directories.