aicra/dynamic/types.go

15 lines
218 B
Go
Raw Normal View History

package dynamic
import "reflect"
// Handler represents a dynamic api handler
type Handler struct {
spec spec
2020-04-04 08:05:27 +00:00
fn interface{}
}
type spec struct {
Input map[string]reflect.Type
Output map[string]reflect.Type
}