mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
use base context to handle the cases where the user IP address is unavailable
This commit is contained in:
@@ -5,6 +5,7 @@ import "context"
|
||||
// Context is the base context of ezBookkeeping
|
||||
type Context interface {
|
||||
context.Context
|
||||
ClientIP() string
|
||||
GetContextId() string
|
||||
GetClientLocale() string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user