You've already forked nyx
							
							
				mirror of
				https://github.com/rls-moe/nyx
				synced 2025-10-30 12:04:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			255 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			255 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package main
 | |
| 
 | |
| import (
 | |
| 	"fmt"
 | |
| 	"go.rls.moe/nyx/config"
 | |
| 	"go.rls.moe/nyx/http"
 | |
| )
 | |
| 
 | |
| func main() {
 | |
| 	c, err := config.Load()
 | |
| 	if err != nil {
 | |
| 		fmt.Printf("Could not read configuration: %s\n", err)
 | |
| 		return
 | |
| 	}
 | |
| 
 | |
| 	fmt.Println("Starting Server")
 | |
| 	http.Start(c)
 | |
| }
 |