contracts/service.go

10 lines
277 B
Go

package contracts
type Service interface {
LoadGoPlugin(file string) error
RegControllers(items map[string]Controller) error
RegListens(items map[string]ResListener) error
GetResListener(code string) (ResListener, bool)
GetAppController(code string) (Controller, bool)
}