diff --git a/docs/src/content/docs/learn/services.mdx b/docs/src/content/docs/learn/services.mdx index 2aedfed04..e53b5942c 100644 --- a/docs/src/content/docs/learn/services.mdx +++ b/docs/src/content/docs/learn/services.mdx @@ -54,7 +54,12 @@ app := application.New(application.Options{ ## Optional Methods -Services can implement optional methods to hook into the application lifecycle: +Services can implement optional methods to hook into the application lifecycle. + +:::note +The `OnStartup`, `OnShutdown`, and `ServeHTTP` methods are not included in the +bindings generated for a service, so they are not exposed to your frontend. +::: ### Name