15 lines
499 B
Go
15 lines
499 B
Go
package sresponse
|
|
|
|
import (
|
|
customermodel "git.sendico.io/tech/sxchnge/product/customers/model"
|
|
"net/http"
|
|
|
|
emodel "git.sendico.io/tech/sxchnge/product/auth/model"
|
|
)
|
|
|
|
type (
|
|
HandlerFunc = func(r *http.Request) http.HandlerFunc
|
|
AccountHandlerFunc = func(r *http.Request, account *customermodel.Account, accessToken *TokenData) http.HandlerFunc
|
|
PendingAccountHandlerFunc = func(r *http.Request, account *customermodel.Account, token *emodel.AccountToken) http.HandlerFunc
|
|
)
|