goext/ginext/session.go
Mike Schwörer 4aa2f494b1
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m38s
v0.0.326 ginext::WithSession
2023-12-02 13:07:36 +01:00

12 lines
203 B
Go

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
}