Documentation ¶
Overview ¶
Package est provides the Encore Syntax Tree (EST).
It is an Encore-specific syntax tree that represents the higher-level representation of the application that Encore understands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessType ¶
type AccessType string
const ( Public AccessType = "public" Private AccessType = "private" // Auth is like public but requires authentication. Auth AccessType = "auth" )
type Application ¶
type AuthHandler ¶
type AuthHandler struct { Svc *Service Name string Doc string Func *ast.FuncDecl File *File Params *schema.Type // builtin string or named type // AuthData is the custom auth data type the app may specify // as part of the returns from the auth handler. // It is nil if no such auth data type is specified. AuthData *Param }
type CronJob ¶ added in v0.19.0
type Resource ¶ added in v0.17.2
type Resource interface { Type() ResourceType File() *File Ident() *ast.Ident }
type ResourceType ¶ added in v0.17.2
type ResourceType int
const (
SQLDBResource ResourceType = iota + 1
)
func (ResourceType) String ¶ added in v0.17.2
func (i ResourceType) String() string
Click to show internal directories.
Click to hide internal directories.