update: use env file to config server
This commit is contained in:
parent
59407840cd
commit
d8f9858ea0
8 changed files with 541 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
s := NewServer(8080)
|
||||
s := NewServer()
|
||||
|
||||
serverCtx, serverStopCtx := context.WithCancel(context.Background())
|
||||
sig := make(chan os.Signal, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue