25 lines
467 B
Go
25 lines
467 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
"reflect"
|
||
|
|
||
|
cda "git.loafle.net/commons/di-go/annotation"
|
||
|
cdr "git.loafle.net/commons/di-go/registry"
|
||
|
_ "git.loafle.net/overflow/commons-go/core/annotation"
|
||
|
)
|
||
|
|
||
|
var ContainerServiceType = reflect.TypeOf((*ContainerService)(nil))
|
||
|
|
||
|
func init() {
|
||
|
cdr.RegisterType(ContainerServiceType)
|
||
|
}
|
||
|
|
||
|
type ContainerService struct {
|
||
|
cda.TypeAnnotation `annotation:"@overflow:RPCService()"`
|
||
|
}
|
||
|
|
||
|
func (cs *ContainerService) Accept() error {
|
||
|
|
||
|
return nil
|
||
|
}
|