forked from TrueCloudLab/frostfs-s3-gw
Move s3-gate files to cmd/gate
This commit is contained in:
parent
3c7682402e
commit
212e1a50b7
8 changed files with 0 additions and 0 deletions
15
cmd/gate/main.go
Normal file
15
cmd/gate/main.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package main
|
||||
|
||||
func main() {
|
||||
var (
|
||||
v = newSettings()
|
||||
l = newLogger(v)
|
||||
a = newApp(l, v)
|
||||
g = newGracefulContext(l)
|
||||
)
|
||||
|
||||
go a.Server(g)
|
||||
go a.Worker(g)
|
||||
|
||||
a.Wait(g)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue