Skip to content

Commit

Permalink
add missing method to micro controller
Browse files Browse the repository at this point in the history
  • Loading branch information
janishar committed Jul 3, 2024
1 parent cfb216d commit fae2dfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/micro/interfaces.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package micro

import (
"github.com/gin-gonic/gin"
"github.com/nats-io/nats.go/micro"
"github.com/unusualcodeorg/goserve/arch/network"
)
Expand All @@ -26,6 +27,7 @@ type BaseController interface {
type Controller interface {
BaseController
MountNats(group NatsGroup)
MountRoutes(group *gin.RouterGroup)
}

type Router interface {
Expand Down

0 comments on commit fae2dfe

Please sign in to comment.