mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-26 03:32:46 +08:00
21 lines
330 B
Go
21 lines
330 B
Go
package commands
|
|
|
|
// Request represents a call to a command from a consumer
|
|
type Request struct {
|
|
options map[string]interface{}
|
|
}
|
|
|
|
/*func (r *Request) Option(name string) interface{} {
|
|
|
|
}
|
|
|
|
func (r *Request) Arguments() interface{} {
|
|
|
|
}*/
|
|
|
|
func NewRequest() *Request {
|
|
return &Request{
|
|
make(map[string]interface{}),
|
|
}
|
|
}
|