Documentation
¶
Index ¶
- func CheckUserExists(conn *gorm.DB, ctx context.Context, email string) (user pmbulbi.Pendaftaran, err error)
- func CreateMariaGormConnection(Mariastring string) *gorm.DB
- func Decrypt(enc string, key string) (res string)
- func Encrypt(plaintext string, key string) (res string)
- func GenerateRandomPassword(length int) string
- func GetAllKota(ctx context.Context, Mariaenv string) (dataKota []pmbulbi.KotaResponse, err error)
- func GetAllProvinsi(ctx context.Context, Mariaenv string) (dataProvinsi []pmbulbi.ProvinsiResponse, err error)
- func GetDaftarSekolahlimit5(ctx context.Context, Mariaenv string, limit int, schoolname string) (data []pmbulbi.DaftarSekolah, err error)
- func GetKota(conn *gorm.DB, ctx context.Context) (val []pmbulbi.WilayahKota, err error)
- func GetKotaLimits(conn *gorm.DB, ctx context.Context, page, perPage int) (val []pmbulbi.WilayahKota, err error)
- func GetOnePendaftar(ctx context.Context, Mariaenv, id string) (data pmbulbi.Pendaftaran, err error)
- func GetProvinsi(conn *gorm.DB, ctx context.Context) (val []pmbulbi.WilayahProvinsi, err error)
- func GetSatuPendaftar(conn *gorm.DB, ctx context.Context, id string) (dest pmbulbi.Pendaftaran, err error)
- func GetSekolahLimits(conn *gorm.DB, ctx context.Context, lim int, name string) (dest []pmbulbi.DaftarSekolah, err error)
- func InsertDataPendaftar(conn *gorm.DB, ctx context.Context, val pmbulbi.Pendaftaran) (err error)
- func Login(ctx context.Context, Mariaenv, email, password string, secret string) (err error)
- func Pendaftaran(ctx context.Context, Mariaenv, secret string, val pmbulbi.Pendaftaran) (err error)
- func TableMigrator(maria string, model interface{}) (res string, err error)
- func VerifyPassword(user pmbulbi.Pendaftaran, email, password, secret string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUserExists ¶ added in v0.1.0
func GenerateRandomPassword ¶ added in v0.0.3
func GetAllKota ¶ added in v0.0.7
func GetAllProvinsi ¶ added in v0.0.7
func GetDaftarSekolahlimit5 ¶ added in v0.0.9
func GetKotaLimits ¶ added in v0.0.9
func GetOnePendaftar ¶ added in v0.0.8
func GetProvinsi ¶ added in v0.0.7
func GetSatuPendaftar ¶ added in v0.0.8
func GetSekolahLimits ¶ added in v0.0.9
func InsertDataPendaftar ¶
func Pendaftaran ¶
func TableMigrator ¶
func VerifyPassword ¶ added in v0.1.0
func VerifyPassword(user pmbulbi.Pendaftaran, email, password, secret string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.