You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
445 B

package cbase
import (
"yunyan/lego/core"
)
type ServiceCompBase struct {
}
func (this *ServiceCompBase) NewOptions() (options core.ICompOptions) {
return new(ServiceCompOptions)
}
func (this *ServiceCompBase) Init(service core.IService, comp core.IServiceComp, options core.ICompOptions) (err error) {
return
}
func (this *ServiceCompBase) Start() (err error) {
return
}
func (this *ServiceCompBase) Destroy() (err error) {
return
}