safing-portbase/api/main.go
2018-09-27 15:58:31 +02:00

22 lines
253 B
Go

package api
import (
"github.com/Safing/portbase/modules"
)
func init() {
modules.Register("api", prep, start, stop, "database")
}
func prep() error {
return nil
}
func start() error {
go Serve()
return nil
}
func stop() error {
return nil
}