Documentation
¶
Index ¶
Constants ¶
View Source
const ( SrcDir = "src/" SrcComponentDir = SrcDir + "components" DbDir = "db" MigrationDir = "db/migrations" Internal = "internal/" ChatGptDir = Internal + "chatgpt" ConfigDir = Internal + "config" ContextDir = Internal + "svc" EventsDir = Internal + "events" EmailClientDir = Internal + "emailclient" HandlerDir = Internal + "handler" LayoutsDir = Internal + "ui/layouts" LogicDir = Internal + "logic" MiddlewareDir = Internal + "middleware" ModelsDir = Internal + "models" SecurityDir = Internal + "security" SessionDir = Internal + "session" TokensDir = Internal + "tokens" TypesDir = Internal + "types" // same as TypesPacket UtilsDir = Internal + "utils" ViewDir = Internal + "views" WorkflowDir = Internal + "workflow" GroupProperty = "group" PrefixProperty = "prefix" JwtTransKey = "jwtTransition" TypesPacket = "types" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MethodConfig ¶
type MethodConfig struct { spec.Method MethodRawName string Get bool Post bool Put bool Delete bool Options bool HasBaseProps bool HasHTMX bool HasResp bool HasReq bool HasPage bool HasPathInReq bool RequiresSocket bool RequiresPubSub bool RequestType string ResponseType string HasPointerRequest bool HasArrayRequest bool HasPointerResponse bool HasArrayResponse bool Request string ReturnString string ResponseString string ReturnsPartial bool ReturnsFullHTML bool ReturnsPlainText bool ReturnsNoOutput bool ReturnsRedirect bool RedirectURL string HandlerName string HasDoc bool Doc string LogicName string LogicType string LogicFunc string IsSocket bool IsDownload bool TopicsFromClient []Topic TopicsFromServer []Topic SocketType string IsPubSub bool PubSubTopic Topic Topic Topic IsSSE bool AssetGroup string }
type RouterType ¶
type RouterType string
const ( Echo RouterType = "echo" Chi RouterType = "chi" Gin RouterType = "gin" Native RouterType = "native" )
func (RouterType) String ¶
func (router RouterType) String() string
type Topic ¶
type Topic struct { Topic string ResponseTopic string RawTopic string Name string Const string RequestType string HasReqType bool ResponseType string HasRespType bool LogicFunc string InitiatedByClient bool InitiatedByServer bool HasPointerRequest bool HasArrayRequest bool HasPointerResponse bool HasArrayResponse bool }
Click to show internal directories.
Click to hide internal directories.