refactor: rename to startProtocolRegistry

This commit is contained in:
Derrick Hammer 2024-01-15 20:58:53 -05:00
parent 82fe380b02
commit 3a44305c44
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import "git.lumeweb.com/LumeWeb/portal/interfaces"
type startFunc func(p interfaces.Portal) error
func initProtocolRegistry(p interfaces.Portal) error {
func startProtocolRegistry(p interfaces.Portal) error {
for _, _func := range p.ProtocolRegistry().All() {
err := _func.Start()
if err != nil {
@ -21,7 +21,7 @@ func startDatabase(p interfaces.Portal) error {
func getStartList() []startFunc {
return []startFunc{
initProtocolRegistry,
startProtocolRegistry,
startDatabase,
}
}