Documentation
¶
Index ¶
- Variables
- func DeserializeStore(b []byte, doc *openapi.Document) error
- func Main(caCertPath, serverCertPath, serverKeyPath string)
- func Mutate(val map[string]interface{}, model *Model, mut *openapi.Mutations) (interface{}, error)
- func PrometheusMiddleware(next echo.HandlerFunc) echo.HandlerFunc
- func SerializeStore(doc *openapi.Document) ([]byte, error)
- func TracingMiddleware(next echo.HandlerFunc) echo.HandlerFunc
- type Binder
- type Model
Constants ¶
This section is empty.
Variables ¶
View Source
var CMD = &cobra.Command{ Use: "server", Short: "start a grpc server", Run: func(cmd *cobra.Command, args []string) { Main(caCertPath, serverCertPath, serverKeyPath) }, }
View Source
var MODEL_MODEL = &Model{
Id: "Model",
}
View Source
var MODEL_MUTATION = &Model{
Id: "Mutation",
}
View Source
var MODEL_REACTOR = &Model{
Id: "Reactor",
}
Functions ¶
func DeserializeStore ¶ added in v0.0.10
func PrometheusMiddleware ¶ added in v0.0.13
func PrometheusMiddleware(next echo.HandlerFunc) echo.HandlerFunc
PrometheusMiddleware records HTTP request metrics
func TracingMiddleware ¶ added in v0.0.10
func TracingMiddleware(next echo.HandlerFunc) echo.HandlerFunc
TracingMiddleware adds OpenTelemetry tracing to Echo requests
Types ¶
Click to show internal directories.
Click to hide internal directories.