123456789101112131415 |
- package model
- import (
- "io"
- "git.riomhaire.com/gremlin/jrpcserver/model/jrpcerror"
- )
- // TODO: Schema
- // CONSIDER: Adding schema info for request and response
- type JRPCCommand struct {
- Name string
- Command func(interface{}, map[string]string, io.ReadCloser) (interface{}, jrpcerror.JrpcError)
- RawResponse bool // If true then response is just marshalled otherwise rpc format
- }
|