types

package
v0.0.0-...-1eec07d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 1 Imported by: 0

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 DBType

type DBType string
const (
	Postgres DBType = "postgres"
	MySql    DBType = "mysql"
	Sqlite   DBType = "sqlite"
)

func (DBType) String

func (db DBType) String() string

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL