rest-go/registry/registry.go

8 lines
293 B
Go
Raw Permalink Normal View History

2018-04-10 09:07:52 +00:00
package registry
type RESTInvoker interface {
HasMethod(method string) bool
Invoke(method string, params []string, leadingParams ...interface{}) (result interface{}, err error)
2018-04-12 07:13:23 +00:00
InvokeWithBytes(method string, params [][]byte, leadingParams ...interface{}) (result interface{}, err error)
2018-04-10 09:07:52 +00:00
}