Trace Api uses websocket to send trace information, a valid jwt token needs to be sent either on the header or as a cookie of the ws request to start. Three goroutines are needed to ensure communication if read hearbeat fails all trace should stop by cancelling the context. WaitGroups are needed to ensure all goroutines finish gracefully.
28 lines
947 B
Modula-2
28 lines
947 B
Modula-2
module github.com/minio/mcs
|
|
|
|
go 1.14
|
|
|
|
require (
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible
|
|
github.com/elazarl/go-bindata-assetfs v1.0.0
|
|
github.com/go-openapi/errors v0.19.4
|
|
github.com/go-openapi/loads v0.19.5
|
|
github.com/go-openapi/runtime v0.19.12
|
|
github.com/go-openapi/spec v0.19.7
|
|
github.com/go-openapi/strfmt v0.19.5
|
|
github.com/go-openapi/swag v0.19.8
|
|
github.com/go-openapi/validate v0.19.7
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/jessevdk/go-flags v1.4.0
|
|
github.com/json-iterator/go v1.1.9
|
|
github.com/minio/cli v1.22.0
|
|
github.com/minio/mc v0.0.0-20200415193718-68b638f2f96c
|
|
github.com/minio/minio v0.0.0-20200428222040-c3c3e9087bc1
|
|
github.com/minio/minio-go/v6 v6.0.55-0.20200424204115-7506d2996b22
|
|
github.com/satori/go.uuid v1.2.0
|
|
github.com/stretchr/testify v1.5.1
|
|
github.com/unrolled/secure v1.0.7
|
|
golang.org/x/crypto v0.0.0-20200214034016-1d94cc7ab1c6
|
|
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e
|
|
)
|