module Server
Defined in:
server.crConstant Summary
-
FORWARD_DL_PATH =
"/adl/%s"
-
GAPI_URI =
"https://www.googleapis.com"
-
GD_APIDL =
GAPI_URI + GD_APIDL_PATH
-
GD_APIDL_PATH =
"/drive/v3/files/%s?alt=media&key=%s"
-
GD_UCDL =
"https://drive.google.com/uc?export=download&id=%s"
Class Method Summary
- .auto_directlink(fid, forward = false)
- .check_cache(fid, data_proc, valid_proc)
- .gapi_cli
- .gd_filesize(fid)
- .get_apidirectlink(fid)
- .handle_request(context)
- .init_cache
- .insert_cache(fid, filesize)
- .load_config(yaml = File.read("./config.yml"))
- .start_server(host = "", port = -1)