1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-19 09:52:03 +08:00

commands: Made PostRun signature match Run

This commit is contained in:
Matt Bell
2015-01-22 23:21:19 -08:00
parent 79741438d9
commit 5706471897
4 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@ type Command struct {
Arguments []Argument
PreRun func(req Request) error
Run Function
PostRun func(res Response)
PostRun Function
Marshalers map[EncodingType]Marshaler
Helptext HelpText