2023-04-12 16:56:55 +08:00
|
|
|
package contracts
|
|
|
|
|
|
|
|
type Service interface {
|
2023-04-25 09:35:06 +08:00
|
|
|
LoadGoPlugin(file string) error
|
2023-04-25 15:08:45 +08:00
|
|
|
RegControllers(items map[string]Controller) error
|
|
|
|
RegListens(items map[string]ResListener) error
|
2023-05-22 15:38:25 +08:00
|
|
|
RegGRpControllers(items map[string]GRpController) error
|
2023-06-05 15:32:34 +08:00
|
|
|
RegJobControllers(items map[string]JobController) error
|
2023-04-24 15:09:08 +08:00
|
|
|
GetResListener(code string) (ResListener, bool)
|
2023-04-24 15:21:13 +08:00
|
|
|
GetAppController(code string) (Controller, bool)
|
2023-05-22 15:38:25 +08:00
|
|
|
GetGRpController(code string) (GRpController, bool)
|
2023-06-05 15:32:34 +08:00
|
|
|
GetJobController(code string) (JobController, bool)
|
2023-04-24 15:02:51 +08:00
|
|
|
}
|