Documentation ¶
Index ¶
- func CreateRekomendasi(nama string, alamat string, lat string, lng string, rating string, ...) structs.JsonResponse
- func CreateUsers(nama string, username string, password string, tgl_lahir string, no_ktp string, ...) structs.JsonResponse
- func CreateUsers2(users structs.CreateUsers) (structs.CreateUsers, error)
- func CreatedSos(sos structs.CreateSos, notif structs.CreateSosNotif) (structs.CreateSos, error)
- func DecryptPassword(password string) (string, error)
- func DetailSosPetugas(detail structs.DetailSosPetugas) (structs.DetailSosPetugas, error)
- func EncryptPassword(password string) (string, error)
- func FetchAllUsers(usersAll structs.GetUser, limit string, offset string) ([]structs.GetUser, error)
- func FetchUsersProfile(users structs.GetUser) (structs.GetUser, error)
- func GetJamaah(created_at string, nama string, username string, tgl_lahir string, ...) structs.JsonResponse
- func GetLocationUsers(loc structs.GetLocationUsers) ([]structs.GetLocationUsers, error)
- func GetPetugas(created_at string, nama string, username string, tgl_lahir string, ...) structs.JsonResponse
- func GetRekomFoto(foto structs.RekomFoto) ([]structs.RekomFoto, error)
- func GetRekomends(nama string, alamat string, foto string, rating string, lat string, lng string, ...) structs.JsonResponse
- func GetRekomendsDetail(id string) structs.JsonResponse
- func GetRole() structs.JsonResponse
- func GetSosPetugas(petugasSos structs.GetSosPetugas, limit string, offset string) ([]structs.GetSosPetugas, error)
- func GetType() structs.JsonResponse
- func GetUserDetail(id string) structs.JsonResponse
- func GetUsers(nama string, username string, tgl_lahir string, no_ktp string, no_hp string, ...) structs.JsonResponse
- func GetUsersAll(users structs.GetUser, limit string, offset string) ([]structs.GetUser, error)
- func GetUsersFoto(id string, foto string, id_privileges string) structs.JsonResponse
- func LoginAdmin(username string, password string) structs.JsonResponse
- func LoginPetugas(username string, password string) structs.JsonResponse
- func LoginUsers(username string, password string) structs.JsonResponse
- func SearchUsers(search structs.SearchUser) ([]structs.SearchUser, error)
- func UpdateLocationUsers(id string, lat string, lng string) structs.JsonResponse
- func UpdateRekomendasi(id string, nama string, alamat string, files multipart.File, ...) structs.JsonResponse
- func UpdateUser(id string, nama string, username string, password string, no_hp string, ...) structs.JsonResponse
- func UploadImage(type_foto string, id_data string, files multipart.File, ...) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRekomendasi ¶
func CreateUsers ¶
func CreateUsers2 ¶
func CreateUsers2(users structs.CreateUsers) (structs.CreateUsers, error)
func CreatedSos ¶
func DecryptPassword ¶
func DetailSosPetugas ¶
func DetailSosPetugas(detail structs.DetailSosPetugas) (structs.DetailSosPetugas, error)
func EncryptPassword ¶
func FetchAllUsers ¶
func GetLocationUsers ¶
func GetLocationUsers(loc structs.GetLocationUsers) ([]structs.GetLocationUsers, error)
func GetPetugas ¶
func GetRekomends ¶
func GetRekomendsDetail ¶
func GetRekomendsDetail(id string) structs.JsonResponse
func GetRole ¶
func GetRole() structs.JsonResponse
func GetSosPetugas ¶
func GetSosPetugas(petugasSos structs.GetSosPetugas, limit string, offset string) ([]structs.GetSosPetugas, error)
func GetType ¶
func GetType() structs.JsonResponse
func GetUserDetail ¶
func GetUserDetail(id string) structs.JsonResponse
func GetUsersAll ¶
func GetUsersFoto ¶
func GetUsersFoto(id string, foto string, id_privileges string) structs.JsonResponse
func LoginAdmin ¶
func LoginAdmin(username string, password string) structs.JsonResponse
func LoginPetugas ¶
func LoginPetugas(username string, password string) structs.JsonResponse
func LoginUsers ¶
func LoginUsers(username string, password string) structs.JsonResponse
func SearchUsers ¶
func SearchUsers(search structs.SearchUser) ([]structs.SearchUser, error)
func UpdateLocationUsers ¶
func UpdateLocationUsers(id string, lat string, lng string) structs.JsonResponse
func UpdateRekomendasi ¶
func UpdateUser ¶
func UploadImage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.