16 lines
694 B
Go
16 lines
694 B
Go
package api
|
|
|
|
import (
|
|
"git.sendico.io/tech/sxchnge/bff/edge/shared/interface/api/sresponse"
|
|
"git.sendico.io/tech/sxchnge/bff/edge/shared/interface/api/ws"
|
|
api "git.sendico.io/tech/sxchnge/bff/pkg/api/http"
|
|
"git.sendico.io/tech/sxchnge/bff/pkg/mservice"
|
|
)
|
|
|
|
type Register interface {
|
|
Handler(service mservice.Type, endpoint string, method api.HTTPMethod, handler sresponse.HandlerFunc)
|
|
AccountHandler(service mservice.Type, endpoint string, method api.HTTPMethod, handler sresponse.AccountHandlerFunc)
|
|
PendingAccountHandler(service mservice.Type, endpoint string, method api.HTTPMethod, handler sresponse.PendingAccountHandlerFunc)
|
|
WSHandler(messageType string, handler ws.HandlerFunc)
|
|
}
|