Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandler ¶
func RegisterHandler(e *echo.Echo, service Service)
Types ¶
type Repository ¶
type Repository interface {
// contains filtered or unexported methods
}
func NewRepository ¶
func NewRepository(db *sqlx.DB) Repository
type Service ¶
type Service interface { InitiateSession(userId, tppId, tid string) (map[string]interface{}, error) FindByInternalAccessToken(accessToken string) (*Session, error) }
func NewService ¶
func NewService(r Repository) Service
type Session ¶
type Session struct { Id int UserId string `db:"user_id"` Tid string `db:"tid"` TppId string `db:"tpp_id"` InternalAccessToken string `db:"internal_access_token"` ReferenceId string `db:"reference_id"` AspspId string `db:"aspsp_id"` CreateDateTime string `db:"create_date_time"` UpdateDateTime string `db:"update_date_time"` }
Click to show internal directories.
Click to hide internal directories.