v0.0.326 ginext::WithSession
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m38s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m38s
This commit is contained in:
11
ginext/session.go
Normal file
11
ginext/session.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package ginext
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type SessionObject interface {
|
||||
Init(g *gin.Context, ctx context.Context) error
|
||||
Finish(ctx context.Context, resp HTTPResponse) error
|
||||
}
|
Reference in New Issue
Block a user