Elizabeth Hunt 18a945aab9
Some checks failed
continuous-integration/drone/push Build is failing
initial commit by simponic-infra
2025-01-12 23:09:34 -08:00

27 lines
475 B
Go

package types
import (
"database/sql"
"net/http"
"time"
"git.simponic.xyz/simponic/phoneassistant/args"
)
type RequestContext struct {
DBConn *sql.DB
Args *args.Arguments
Id string
Start time.Time
TemplateData *map[string]interface{}
}
type BannerMessages struct {
Messages []string
}
type Continuation func(*RequestContext, *http.Request, http.ResponseWriter) ContinuationChain
type ContinuationChain func(Continuation, Continuation) ContinuationChain