chore: better uuid using
This commit is contained in:
@ -17,10 +17,8 @@ type ConnContext struct {
|
||||
}
|
||||
|
||||
func NewConnContext(conn net.Conn, metadata *C.Metadata) *ConnContext {
|
||||
id, _ := utils.UnsafeUUIDGenerator.NewV4()
|
||||
|
||||
return &ConnContext{
|
||||
id: id,
|
||||
id: utils.NewUUIDV4(),
|
||||
metadata: metadata,
|
||||
conn: N.NewBufferedConn(conn),
|
||||
}
|
||||
|
Reference in New Issue
Block a user