SessionConfig 추가
This commit is contained in:
@ -107,3 +107,8 @@ func NewProvider(ctx context.Context, storageAddr string, ttl time.Duration) (Pr
|
|||||||
|
|
||||||
return nil, errInvalidScheme
|
return nil, errInvalidScheme
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SessionConfig struct {
|
||||||
|
SessionTTL int64 `json:"session_ttl"`
|
||||||
|
SessionStorage string `json:"session_storage"`
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user