Observability enhancements (#67)

This commit is contained in:
mgdigital
2023-11-18 18:58:02 +00:00
committed by GitHub
parent 630c0843e5
commit ec95f7cc3a
104 changed files with 4075 additions and 1047 deletions
+3 -3
View File
@@ -41,11 +41,11 @@ type builder struct {
playgroundHandler gin.HandlerFunc
}
func (b *builder) Priority() int {
return 0
func (builder) Key() string {
return "graphql"
}
func (b *builder) Apply(e *gin.Engine) error {
func (b builder) Apply(e *gin.Engine) error {
e.POST("/graphql", b.gqlHandler)
e.GET("/graphql", b.playgroundHandler)
return nil