Documentation ¶
Overview ¶
Code generated by Frodo - DO NOT EDIT.
Timestamp: Mon, 03 Jul 2023 15:44:52 EDT Source: sensitive/secret_service.go Generator: https://github.com/bridgekitio/frodo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SecretServiceServer ¶
func SecretServiceServer(handler sensitive.SecretService, middleware ...services.MiddlewareFunc) *services.Service
SecretServiceServer accepts your "real" SecretService instance (the thing that really does the work), and returns a set of endpoint routes which allow this service to be consumed via the gateways/listeners you configure in main().
// Example serviceHandler := sensitive.SecretServiceHandler{ /* set up to your liking */ } server := services.New( services.Listen(apis.NewGateway()), services.Register(sensitivegen.SecretServiceServer(serviceHandler)), ) server.Listen()
From there, you can add middleware, event sourcing support and more. Look at the frodo documentation for more details/examples on how to make your service production ready.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.