aicra/types.go

19 lines
458 B
Go
Raw Normal View History

package aicra
import (
"git.xdrm.io/go/aicra/internal/checker"
"git.xdrm.io/go/aicra/internal/config"
"git.xdrm.io/go/aicra/middleware"
)
// Server represents an AICRA instance featuring:
// * its type checkers
// * its middlewares
// * its configuration (controllers)
type Server struct {
config *config.Controller
Params map[string]interface{}
2018-07-08 23:34:21 +00:00
Checker *checker.Registry // type check
Middleware *middleware.Registry // middlewares
}