goext/ginext/session.go

12 lines
199 B
Go
Raw Normal View History

2023-12-02 13:07:36 +01:00
package ginext
import (
"context"
"github.com/gin-gonic/gin"
)
type SessionObject interface {
2024-01-16 15:04:10 +01:00
Init(g *gin.Context, ctx *AppContext) error
2023-12-02 13:07:36 +01:00
Finish(ctx context.Context, resp HTTPResponse) error
}