wings/wings.go
2022-07-10 14:30:32 -04:00

22 lines
478 B
Go

package main
import (
"encoding/gob"
"github.com/pterodactyl/wings/cmd"
"github.com/pterodactyl/wings/sftp"
"math/rand"
"time"
)
func main() {
gob.Register(sftp.EventRecord{})
// Since we make use of the math/rand package in the code, especially for generating
// non-cryptographically secure random strings we need to seed the RNG. Just make use
// of the current time for this.
rand.Seed(time.Now().UnixNano())
// Execute the main binary code.
cmd.Execute()
}