mirror of
https://github.com/bitmagnet-io/bitmagnet.git
synced 2026-07-26 14:11:03 -04:00
Observability enhancements (#67)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user