overflow_discovery/service/ContainerService.go
crusader c78d3b60ea ing
2018-03-16 16:46:31 +09:00

22 lines
372 B
Go

package service
import (
"reflect"
cda "git.loafle.net/commons_go/di/annotation"
cdr "git.loafle.net/commons_go/di/registry"
)
func init() {
cdr.RegisterType(reflect.TypeOf((*ContainerService)(nil)))
}
type ContainerService struct {
cda.TypeAnnotation `annotation:"@overFlow:Service()"`
}
func (cs *ContainerService) State() (bool, error) {
return true, nil
}