sensitive

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL