forked from TrueCloudLab/frostfs-http-gw
[#44] add tracing support refactoring
Signed-off-by: Pavel Pogodaev <p.pogodaev@yadro.com>
This commit is contained in:
parent
8a22991326
commit
cdaab4feab
9 changed files with 78 additions and 137 deletions
2
main.go
2
main.go
|
@ -12,6 +12,6 @@ func main() {
|
|||
logger, atomicLevel := newLogger(v)
|
||||
|
||||
application := newApp(globalContext, WithLogger(logger, atomicLevel), WithConfig(v))
|
||||
go application.Serve(globalContext)
|
||||
go application.Serve()
|
||||
application.Wait()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue