Documentation ¶
Index ¶
- type CekUserLogin
- type CheckId
- type CheckIdRekom
- type Component
- type CreateRekomendasi
- type CreateSos
- type CreateSosNotif
- type CreateUsers
- type DetailSosAdmin
- type DetailSosPetugas
- type GetFoto
- type GetLocationUsers
- type GetPrivileges
- type GetRekomendasi
- type GetSosAdmin
- type GetSosPetugas
- type GetType
- type GetUser
- type GetUserLogin
- type JSONTime
- type JsonResponse
- type Marshalers
- type ReadInterface
- type RekomFoto
- type Results
- type SearchUser
- type UpdateLocationUsers
- type UpdateRekomendasi
- type UpdateUsers
- type UploadFoto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CekUserLogin ¶
type CheckIdRekom ¶
type CheckIdRekom struct {
CountId int `json:"count_id"`
}
type Component ¶
type Component struct { }
func (*Component) GetMessageErr ¶
func (*Component) GetMessageSucc ¶
func (*Component) GetTimeNow ¶
type CreateRekomendasi ¶
type CreateSos ¶
type CreateSos struct { Id int `json:"id" form:"id"` //Sos bool `json:"sos" form:"sos" binding:"required"` Message string `json:"message" form:"message"` IdUsersSender int `json:"id_users_sender" form:"id_users_sender" binding:"required"` Lat string `json:"lat" form:"lat" binding:"required"` Lng string `json:"lng" form:"lng" binding:"-"` CreatedAt string `json:"created_at" form:"created_at"` }
type CreateSosNotif ¶
type CreateUsers ¶
type CreateUsers struct { Id int `json:"id" form:"id"` Nama string `json:"nama" form:"nama"` Username string `json:"username" form:"username"` Password string `json:"password" form:"password"` TglLahir string `json:"tgl_lahir" form:"tgl_lahir"` NoKtp string `json:"no_ktp" form:"no_ktp" binding:"required"` NoHp string `json:"no_hp" form:"no_hp" binding:"required"` NoVisa string `json:"no_visa" form:"no_visa" binding:"required"` NoPasspor string `json:"no_passpor" form:"no_passpor" binding:"required"` //Foto string `json:"foto" form:"foto"` IdPrivileges int `json:"id_privileges" form:"-" binding:"-"` CreatedAt string `json:"created_at" form:"created_at"` }
type DetailSosAdmin ¶
type DetailSosAdmin struct { Id *int `json:"id" form:"id" binding:"required"` IdSosSender *int `json:"id_sos_sender" form:"id_sos_sender"` IdUsersAdmin *int `json:"id_users_admin" form:"id_users_admin"` NamaAdmin *string `json:"nama_admin" form:"nama_admin"` Sos *bool `json:"sos" form:"sos"` IdUsersSender *int `json:"id_users_sender" form:"id_users_sender"` NamaUser *string `json:"nama_user" form:"nama_user"` Lat *string `json:"lat" form:"lat"` Lng *string `json:"lng" form:"lng"` NoKtp *int `json:"no_ktp" form:"no_ktp"` NoHp *int `json:"no_hp" form:"no_hp"` NoVisa *string `json:"no_visa" form:"no_visa"` NoPasspor *string `json:"no_passpor" form:"no_passpor"` Foto *string `json:"foto" form:"foto"` IdPrivileges *int `json:"id_privileges" form:"id_privileges"` Role *string `json:"role" form:"role"` CreatedAt *string `json:"created_at" form:"created_at"` }
type DetailSosPetugas ¶
type DetailSosPetugas struct { Id *int `json:"id" form:"id" binding:"required"` IdSosJamaah *int `json:"id_sos_jamaah" form:"id_sos_jamaah"` Message *string `json:"message" form:"message"` IdUsersSender *int `json:"id_users_sender" form:"id_users_sender"` CreatedAt *string `json:"created_at" form:"created_at"` Nama *string `json:"nama" form:"nama"` Lat *string `json:"lat" form:"lat"` Lng *string `json:"lng" form:"lng"` NoKtp *string `json:"no_ktp" form:"no_ktp"` NoHp *string `json:"no_hp" form:"no_hp"` NoVisa *string `json:"no_visa" form:"no_visa"` NoPasspor *string `json:"no_passpor" form:"no_passpor"` Role *string `json:"role" form:"role"` }
type GetLocationUsers ¶
type GetPrivileges ¶
type GetRekomendasi ¶
type GetSosAdmin ¶
type GetSosAdmin struct { Id *int `json:"id" form:"id"` IdSosSender *int `json:"id_sos_sender" form:"id_sos_sender"` IdUsersAdmin *int `json:"id_users_admin" form:"id_users_admin"` NamaAdmin *string `json:"nama_admin" form:"nama_admin"` Sos *bool `json:"sos" form:"sos"` IdUsersSender *int `json:"id_users_sender" form:"id_users_sender"` NamaUser *string `json:"nama_user" form:"nama_user"` Lat *string `json:"lat" form:"lat"` Lng *string `json:"lng" form:"lng"` CreatedAt *string `json:"created_at" form:"created_at"` }
type GetSosPetugas ¶
type GetSosPetugas struct { Id *int `json:"id" form:"id"` IdSosJamaah *int `json:"id_sos_jamaah" form:"id_sos_jamaah"` //Sos *bool `json:"sos" form:"sos"` IdUsersSender *int `json:"id_users_sender" form:"id_users_sender"` Nama *string `json:"nama" form:"nama"` Message *string `json:"message" form:"message"` Lat *string `json:"lat" form:"lat"` Lng *string `json:"lng" form:"lng"` CreatedAt *string `json:"created_at" form:"created_at"` }
type GetUser ¶
type GetUser struct { Id *int `json:"id" form:"id"` Nama *string `json:"nama" form:"nama"` Username *string `json:"username" form:"username"` TglLahir *string `json:"tgl_lahir" form:"tgl_lahir"` NoKtp *string `json:"no_ktp" form:"no_ktp"` NoHp *string `json:"no_hp" form:"no_hp"` NoVisa *string `json:"no_visa" form:"no_visa"` NoPasspor *string `json:"no_passpor" form:"no_passpor"` //Foto *string `json:"foto" form:"foto"` IdPrivileges *int `json:"id_privileges" form:"id_privileges" binding:"-"` Role *string `json:"role" form:"role"` CreatedAt *string `json:"created_at" form:"created_at"` }
type GetUserLogin ¶
type GetUserLogin struct { Id int `json:"id"` Nama *string `json:"nama"` Username *string `json:"username"` TglLahir *string `json:"tgl_lahir"` NoKtp *string `json:"no_ktp"` NoHp *string `json:"no_hp"` NoVisa *string `json:"no_visa"` NoPasspor *string `json:"no_passpor"` //Foto *string `json:"foto"` IdPrivileges *int `json:"id_privileges"` Role *string `json:"role"` CreatedAt *string `json:"created_at"` Token string `json:"token"` }
type JSONTime ¶
func (JSONTime) MarshalJSON ¶
type JsonResponse ¶
type Marshalers ¶
type ReadInterface ¶
type ReadInterface interface {
Id() int64
}
type SearchUser ¶
type SearchUser struct { Id int64 `json:"id" form:"id"` Nama string `json:"nama" form:"nama"` Username string `json:"username" form:"username"` TglLahir string `json:"tgl_lahir" form:"tgl_lahir"` NoKtp int `json:"no_ktp" form:"no_ktp"` NoHp int `json:"no_hp" form:"no_hp"` NoVisa string `json:"no_visa" form:"no_visa"` NoPasspor string `json:"no_passpor" form:"no_passpor"` Foto string `json:"foto" form:"foto"` IdPrivileges int `json:"id_privileges" form:"id_privileges" binding:"-"` Role string `json:"role" form:"role"` CreatedAt string `json:"created_at" form:"created_at"` }
type UpdateLocationUsers ¶
type UpdateRekomendasi ¶
type UpdateUsers ¶
type UploadFoto ¶
type UploadFoto struct { Id int `json:"id" form:"id"` Foto *multipart.FileHeader `json:"foto" form:"foto"` IdPrivileges int `json:"id_privileges" form:"id_privileges"` }
Click to show internal directories.
Click to hide internal directories.