rest-go/registry/registry.go
crusader 9fb5b13f48 ing
2018-04-12 16:13:23 +09:00

8 lines
293 B
Go

package registry
type RESTInvoker interface {
HasMethod(method string) bool
Invoke(method string, params []string, leadingParams ...interface{}) (result interface{}, err error)
InvokeWithBytes(method string, params [][]byte, leadingParams ...interface{}) (result interface{}, err error)
}