goext/ginext/session.go

12 lines
203 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 {
Init(g *gin.Context, ctx context.Context) error
Finish(ctx context.Context, resp HTTPResponse) error
}