├── .env.example ├── .gitignore ├── README.md ├── domain ├── account.go ├── cache.go ├── email.go ├── error.go ├── factor.go ├── midtrans.go ├── notification.go ├── template.go ├── topup.go ├── transaction.go └── user.go ├── dto ├── auth_req.go ├── auth_res.go ├── hub.go ├── notification_data.go ├── response.go ├── topup_req.go ├── topup_res.go ├── transfer_execute_req.go ├── transfer_inquiry_req.go ├── transfer_inquiry_res.go ├── user_data.go ├── user_register_req.go ├── user_register_res.go ├── validate_otp_req.go └── validate_pin_req.go ├── go.mod ├── go.sum ├── internal ├── api │ ├── auth.go │ ├── midtrans.go │ ├── notification.go │ ├── topup.go │ └── transfer.go ├── component │ ├── cache_connection.go │ └── db_connection.go ├── config │ ├── loader.go │ └── model.go ├── middleware │ └── auth.go ├── repository │ ├── account.go │ ├── factor.go │ ├── notifiction.go │ ├── redis_cache.go │ ├── template.go │ ├── topup.go │ ├── transaction.go │ └── user.go ├── service │ ├── email.go │ ├── factor.go │ ├── midtrans.go │ ├── notification.go │ ├── topup.go │ ├── transaction.go │ └── user.go ├── sse │ └── notification.go └── util │ ├── generator.go │ └── http_util.go └── main.go /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .env 3 | dump.rdb -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/README.md -------------------------------------------------------------------------------- /domain/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/account.go -------------------------------------------------------------------------------- /domain/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/cache.go -------------------------------------------------------------------------------- /domain/email.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/email.go -------------------------------------------------------------------------------- /domain/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/error.go -------------------------------------------------------------------------------- /domain/factor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/factor.go -------------------------------------------------------------------------------- /domain/midtrans.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/midtrans.go -------------------------------------------------------------------------------- /domain/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/notification.go -------------------------------------------------------------------------------- /domain/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/template.go -------------------------------------------------------------------------------- /domain/topup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/topup.go -------------------------------------------------------------------------------- /domain/transaction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/transaction.go -------------------------------------------------------------------------------- /domain/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/domain/user.go -------------------------------------------------------------------------------- /dto/auth_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/auth_req.go -------------------------------------------------------------------------------- /dto/auth_res.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/auth_res.go -------------------------------------------------------------------------------- /dto/hub.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/hub.go -------------------------------------------------------------------------------- /dto/notification_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/notification_data.go -------------------------------------------------------------------------------- /dto/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/response.go -------------------------------------------------------------------------------- /dto/topup_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/topup_req.go -------------------------------------------------------------------------------- /dto/topup_res.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/topup_res.go -------------------------------------------------------------------------------- /dto/transfer_execute_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/transfer_execute_req.go -------------------------------------------------------------------------------- /dto/transfer_inquiry_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/transfer_inquiry_req.go -------------------------------------------------------------------------------- /dto/transfer_inquiry_res.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/transfer_inquiry_res.go -------------------------------------------------------------------------------- /dto/user_data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/user_data.go -------------------------------------------------------------------------------- /dto/user_register_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/user_register_req.go -------------------------------------------------------------------------------- /dto/user_register_res.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/user_register_res.go -------------------------------------------------------------------------------- /dto/validate_otp_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/validate_otp_req.go -------------------------------------------------------------------------------- /dto/validate_pin_req.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/dto/validate_pin_req.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/go.sum -------------------------------------------------------------------------------- /internal/api/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/api/auth.go -------------------------------------------------------------------------------- /internal/api/midtrans.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/api/midtrans.go -------------------------------------------------------------------------------- /internal/api/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/api/notification.go -------------------------------------------------------------------------------- /internal/api/topup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/api/topup.go -------------------------------------------------------------------------------- /internal/api/transfer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/api/transfer.go -------------------------------------------------------------------------------- /internal/component/cache_connection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/component/cache_connection.go -------------------------------------------------------------------------------- /internal/component/db_connection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/component/db_connection.go -------------------------------------------------------------------------------- /internal/config/loader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/config/loader.go -------------------------------------------------------------------------------- /internal/config/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/config/model.go -------------------------------------------------------------------------------- /internal/middleware/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/middleware/auth.go -------------------------------------------------------------------------------- /internal/repository/account.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/account.go -------------------------------------------------------------------------------- /internal/repository/factor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/factor.go -------------------------------------------------------------------------------- /internal/repository/notifiction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/notifiction.go -------------------------------------------------------------------------------- /internal/repository/redis_cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/redis_cache.go -------------------------------------------------------------------------------- /internal/repository/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/template.go -------------------------------------------------------------------------------- /internal/repository/topup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/topup.go -------------------------------------------------------------------------------- /internal/repository/transaction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/transaction.go -------------------------------------------------------------------------------- /internal/repository/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/repository/user.go -------------------------------------------------------------------------------- /internal/service/email.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/service/email.go -------------------------------------------------------------------------------- /internal/service/factor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/service/factor.go -------------------------------------------------------------------------------- /internal/service/midtrans.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/service/midtrans.go -------------------------------------------------------------------------------- /internal/service/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/service/notification.go -------------------------------------------------------------------------------- /internal/service/topup.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/service/topup.go -------------------------------------------------------------------------------- /internal/service/transaction.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/service/transaction.go -------------------------------------------------------------------------------- /internal/service/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/service/user.go -------------------------------------------------------------------------------- /internal/sse/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/sse/notification.go -------------------------------------------------------------------------------- /internal/util/generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/util/generator.go -------------------------------------------------------------------------------- /internal/util/http_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/internal/util/http_util.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shellrean/go-e-wallet-system/HEAD/main.go --------------------------------------------------------------------------------