1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-03 13:00:37 +08:00

32 Commits

Author SHA1 Message Date
7b4de230eb commands: Refactored Command#Run function signature to (req Request, res Response) 2015-01-23 18:29:29 -08:00
ae6f00d766 commands: Fixed tests 2014-11-19 00:36:42 -08:00
8968b98cf3 commands: Added tests for Request#SetOptions 2014-11-18 02:13:57 -08:00
0b509098aa commands: Fixed tests 2014-11-18 02:13:55 -08:00
3c5bfcec31 commands: Fixed tests 2014-11-16 18:07:56 -08:00
3e507f7c9f commands: Changed option accessor API (Request#Option now returns an OptionValue) 2014-11-14 03:17:38 -08:00
e34a0fd658 commands: Updated tests 2014-11-14 03:17:37 -08:00
ce28fa363b commands: Fixed tests 2014-11-14 03:17:37 -08:00
cdf221078d commands: Fixed tests 2014-11-14 03:17:34 -08:00
39c78fbe06 commands: Fixed tests 2014-11-04 02:04:48 -08:00
4911dc069a refactor(commands) swap argument order to match Http(w, r) idiom 2014-11-04 02:04:47 -08:00
6302356e15 commands: Fixed tests 2014-11-04 02:04:46 -08:00
b033e33293 commands: Fixed test 2014-11-04 02:04:44 -08:00
184c25430b go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
dd81bf630f commands: Fixed tests 2014-10-21 18:07:49 -07:00
4f10f03660 commands: Fixed tests 2014-10-21 16:15:22 -07:00
8786878fdb commands: Fixed tests 2014-10-21 15:25:01 -07:00
b022ba4a3a commands: Fixed tests 2014-10-20 14:39:23 -07:00
b10fc2cc50 turned req + res into interfaces 2014-10-20 11:49:07 -07:00
bbef82f4fa "enc" -> EncShort 2014-10-20 08:00:28 -07:00
09d2277f0a f -> run, Function type. 2014-10-20 07:53:54 -07:00
4f06c6fdba commands: Formatted code 2014-10-20 07:04:54 -07:00
c054fb3655 commands: Added simple Command#Resolve test 2014-10-20 07:04:54 -07:00
4b0f44e441 commands: Fixed tests 2014-10-20 07:04:54 -07:00
47eea7fd93 commands: Added a option validation test for convertible string values 2014-10-20 07:04:53 -07:00
1e8719e7f4 commands: Fixed tests 2014-10-20 07:04:53 -07:00
793a8de9c2 commands: Refactored to make Request contain command path 2014-10-20 07:04:53 -07:00
43670971d8 commands: Formatted code 2014-10-20 07:04:52 -07:00
df034c9c0b commands: Updated Command tests for new Response API 2014-10-20 07:04:51 -07:00
97ce60f8a4 commands: Added global options list to command tests 2014-10-20 07:04:50 -07:00
e593c180fe commands: Added tests for Command.Register 2014-10-20 07:04:50 -07:00
dd682963a2 commands: Wrote tests for command option validation 2014-10-20 07:04:50 -07:00