Renames packages to correct name
This commit is contained in:
parent
c6f73275b4
commit
5d07c05648
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|||||||
@ -3,21 +3,21 @@ package main
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/lmas/ss13hub"
|
"github.com/lmas/ss13_se"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// TODO: load config from a toml file
|
// TODO: load config from a toml file
|
||||||
conf := ss13hub.Conf{
|
conf := ss13_se.Conf{
|
||||||
WebAddr: ":8000",
|
WebAddr: ":8000",
|
||||||
ReadTimeout: 30 * time.Second,
|
ReadTimeout: 30 * time.Second,
|
||||||
WriteTimeout: 30 * time.Second,
|
WriteTimeout: 30 * time.Second,
|
||||||
ScrapeTimeout: 10 * time.Minute,
|
ScrapeTimeout: 10 * time.Minute,
|
||||||
Storage: &ss13hub.StorageSqlite{
|
Storage: &ss13_se.StorageSqlite{
|
||||||
Path: "./tmp/servers.db",
|
Path: "./tmp/servers.db",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
app, err := ss13hub.New(conf)
|
app, err := ss13_se.New(conf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|||||||
2
main.go
2
main.go
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"html/template"
|
"html/template"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"html/template"
|
"html/template"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
package ss13hub
|
package ss13_se
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"html/template"
|
"html/template"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user