Skip to content

Commit 98c4089

Browse files
authored
[v3 alpha] docs: add note that internal service methods are not included in generated bindings (#3982)
add note that internal service methods are not bound
1 parent 91a9929 commit 98c4089

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/src/content/docs/learn/services.mdx

+6-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ app := application.New(application.Options{
5454

5555
## Optional Methods
5656

57-
Services can implement optional methods to hook into the application lifecycle:
57+
Services can implement optional methods to hook into the application lifecycle.
58+
59+
:::note
60+
The `OnStartup`, `OnShutdown`, and `ServeHTTP` methods are not included in the
61+
bindings generated for a service, so they are not exposed to your frontend.
62+
:::
5863

5964
### Name
6065

0 commit comments

Comments
 (0)