add request id generator and middleware file
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package requestid
|
||||
|
||||
type RequestIdGenerator interface {
|
||||
GenerateRequestId(clientIpAddr string) string
|
||||
GetCurrentServerUniqId() uint16
|
||||
GetCurrentInstanceUniqId() uint16
|
||||
}
|
||||
Reference in New Issue
Block a user