mitra

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Response intermoni.Response
)

Functions

func CheckMitra_MahasiswaMagang

func CheckMitra_MahasiswaMagang(iduser primitive.ObjectID, db *mongo.Database) bool

func ConfirmMouMitraByAdmin

func ConfirmMouMitraByAdmin(idparam primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Mitra) error

by admin

func GCFHandlerUpdateByAdmin

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

func Get

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

func GetAllMitraByAdmin

func GetAllMitraByAdmin(db *mongo.Database) (mitra []intermoni.Mitra, err error)

func GetMitraByAdmin added in v0.1.5

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

func GetMitraByMitra

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

func GetMitraFromIDByAdmin

func GetMitraFromIDByAdmin(idparam primitive.ObjectID, db *mongo.Database) (mitra intermoni.Mitra, err error)

by admin

func JumlahStatusGagalMahasiswaMagang

func JumlahStatusGagalMahasiswaMagang(idmitra primitive.ObjectID, db *mongo.Database) int

func Put

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

func UpdateMitra

func UpdateMitra(idparam, iduser primitive.ObjectID, db *mongo.Database, insertedDoc intermoni.Mitra) error

by mitra

Types

This section is empty.

Jump to

Keyboard shortcuts

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