15 lines
237 B
Go
15 lines
237 B
Go
package main
|
|
|
|
import (
|
|
"github.com/lyra/orion-telemetry/internal/config"
|
|
orionhttp "github.com/lyra/orion-telemetry/internal/http"
|
|
)
|
|
|
|
func main() {
|
|
cfg := config.Load()
|
|
|
|
router := orionhttp.NewRouter()
|
|
|
|
router.Run(":" + cfg.Port)
|
|
}
|