request.go 330 Bytes
Newer Older
Matt Bell's avatar
Matt Bell committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
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{}),
  }
}