mahasiswa

package
v0.2.83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Response intermoni.Response
)

Functions

func CheckMahasiswa_MahasiswaMagang

func CheckMahasiswa_MahasiswaMagang(idmahasiswa primitive.ObjectID, db *mongo.Database) bool

func GCFHandlerGetMahasiswaByAdmin

func GCFHandlerGetMahasiswaByAdmin(conn *mongo.Database, r *http.Request) string

func GCFHandlerGetMahasiswaByMahasiswa

func GCFHandlerGetMahasiswaByMahasiswa(iduser primitive.ObjectID, conn *mongo.Database) string

func GCFHandlerUpdateByAdmin

func GCFHandlerUpdateByAdmin(idparam primitive.ObjectID, mahasiswa intermoni.Mahasiswa, conn *mongo.Database, r *http.Request) string

func GCFHandlerUpdateByMahasiswa

func GCFHandlerUpdateByMahasiswa(idparam, iduser primitive.ObjectID, conn *mongo.Database, r *http.Request) string

func Get

func Get(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string

func GetAllMahasiswaByAdmin

func GetAllMahasiswaByAdmin(db *mongo.Database) (mahasiswa []intermoni.Mahasiswa, err error)

func GetMahasiswaFromIDByAdmin

func GetMahasiswaFromIDByAdmin(idparam primitive.ObjectID, db *mongo.Database) (mahasiswa intermoni.Mahasiswa, err error)

by admin

func JumlahStatusGagalMahasiswaMagang

func JumlahStatusGagalMahasiswaMagang(idmahasiswa primitive.ObjectID, db *mongo.Database) int64

func Put

func Put(PASETOPUBLICKEYENV, MONGOCONNSTRINGENV, dbname string, r *http.Request) string

func SeleksiMahasiswaByAdmin

func SeleksiMahasiswaByAdmin(idparam primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Mahasiswa) error

by admin

func UpdateMahasiswa

func UpdateMahasiswa(idparam, iduser primitive.ObjectID, db *mongo.Database, r *http.Request) error

by mahasiswa

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL