Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserVerbServer ¶
func NewUserVerbServer(moduleName string, handlers ...Handler) plugin.Constructor[ftlv1connect.VerbServiceHandler, UserVerbConfig]
NewUserVerbServer starts a new code-generated drive for user Verbs.
This function is intended to be used by the code generator.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler for a Verb.
type UserVerbConfig ¶
type UserVerbConfig struct { FTLEndpoint *url.URL `help:"FTL endpoint." env:"FTL_ENDPOINT" required:""` ObservabilityConfig observability.Config `embed:"" prefix:"o11y-"` }
Click to show internal directories.
Click to hide internal directories.