Add missing gRPC functions
This commit is contained in:
18
handlers/handlers.go
Normal file
18
handlers/handlers.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"git.coopgo.io/coopgo-platform/mobility-accounts/storage"
|
||||
"github.com/spf13/viper"
|
||||
)
|
||||
|
||||
type MobilityAccountsHandler struct {
|
||||
storage storage.Storage
|
||||
config *viper.Viper
|
||||
}
|
||||
|
||||
func NewHandler(cfg *viper.Viper, storage storage.Storage) MobilityAccountsHandler {
|
||||
return MobilityAccountsHandler{
|
||||
storage: storage,
|
||||
config: cfg,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user