Documentation ¶
Index ¶
- func AddedComment(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func AddedContent(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func AddedProduct(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func AuthenticateUserAndGenerateToken(privateKeyEnv string, mongoconn *mongo.Database, collection string, ...) (string, error)
- func Authorization(publickey, MONGOCONNSTRINGENV, dbname, collname string, r *http.Request) string
- func Authorizationn(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func BoxFix(mongoenv, dbname string, r *http.Request) string
- func Center(mongoconn *mongo.Database, longitude, latitude, radius float64) (namalokasi string)
- func CenterSphere(mongoenv, dbname string, r *http.Request) string
- func CheckPasswordHash(password, hash string) bool
- func CreateAbout(mongoconn *mongo.Database, collection string, aboutdata About) interface{}
- func CreateBackend(mongoconn *mongo.Database, collection string, sidangdata Backend) interface{}
- func CreateBlog(mongoconn *mongo.Database, collection string, blogdata Blog) interface{}
- func CreateComment(mongoconn *mongo.Database, collection string, commentdata Comment) interface{}
- func CreateContact(mongoconn *mongo.Database, collection string, contactdata Contack) interface{}
- func CreateContentt(mongoconn *mongo.Database, collection string, contentdata Content) interface{}
- func CreateEvent(mongoconn *mongo.Database, collection string, eventdata Event) interface{}
- func CreateEventGlobal(mongoconn *mongo.Database, collection string, eventglobaldata EventGlobal) interface{}
- func CreateFronent(mongoconn *mongo.Database, collection string, sidangdata Frontend) interface{}
- func CreateGallery(mongoconn *mongo.Database, collection string, gallerydata Gallery) interface{}
- func CreateIklan(mongoconn *mongo.Database, collection string, iklandata Iklan) interface{}
- func CreateLogin(mongoconn *mongo.Database, collection string, userdata User) interface{}
- func CreateNewBlog(mongoconn *mongo.Database, collection string, blogdata Blog) interface{}
- func CreateNewContent(mongoconn *mongo.Database, collection string, contentdata Content) interface{}
- func CreateNewProduct(mongoconn *mongo.Database, collection string, productdata Product) interface{}
- func CreateNewUserRole(mongoconn *mongo.Database, collection string, userdata User) interface{}
- func CreateProduct(mongoconn *mongo.Database, collection string, productdata Product) interface{}
- func CreateSidang(mongoconn *mongo.Database, collection string, sidangdata InputSidang) interface{}
- func CreateUser(mongoconn *mongo.Database, collection string, userdata User) interface{}
- func CreateUserAndAddToken(privateKeyEnv string, mongoconn *mongo.Database, collection string, ...) error
- func CreateUserAndAddedToeken(PASETOPRIVATEKEYENV string, mongoconn *mongo.Database, collection string, ...) interface{}
- func DecodeGetName(publickey string, tokenstring string) string
- func DecodeGetNomor(publickey string, tokenstring string) string
- func DecodeGetRole(publickey string, tokenstring string) string
- func DecodeGetUsername(publickey string, tokenstring string) string
- func DeleteAbout(mongoconn *mongo.Database, collection string, aboutdata About) interface{}
- func DeleteBackend(mongoconn *mongo.Database, collection string, sidangdata Backend) interface{}
- func DeleteBlog(mongoconn *mongo.Database, collection string, blogdata Blog) interface{}
- func DeleteComment(mongoconn *mongo.Database, collection string, commentdata Comment) interface{}
- func DeleteCommentApi(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func DeleteContact(mongoconn *mongo.Database, collection string, contactdata Contack) interface{}
- func DeleteContent(mongoconn *mongo.Database, collection string, contentdata Content) interface{}
- func DeleteContentt(mongoconn *mongo.Database, collection string, contentdata Content) interface{}
- func DeleteContenttt(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func DeleteEvent(mongoconn *mongo.Database, collection string, eventdata Event) interface{}
- func DeleteEventGlobal(mongoconn *mongo.Database, collection string, eventglobaldata EventGlobal) interface{}
- func DeleteFrondent(mongoconn *mongo.Database, collection string, sidangdata Frontend) interface{}
- func DeleteGallery(mongoconn *mongo.Database, collection string, gallerydata Gallery) interface{}
- func DeleteIklan(mongoconn *mongo.Database, collection string, iklandata Iklan) interface{}
- func DeleteLinestring(mongoconn *mongo.Database, collection string, linestringdata GeoJsonLineString) interface{}
- func DeleteProduct(mongoconn *mongo.Database, collection string, productdata Product) interface{}
- func DeleteProductt(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func DeleteSidang(mongoconn *mongo.Database, collection string, sidangdata InputSidang) interface{}
- func DeleteTesting(mongoconn *mongo.Database, collection string, testingdata Testing) interface{}
- func DeleteUser(mongoconn *mongo.Database, collection string, userdata User) interface{}
- func Encode(name, username, role, privatekey string) (string, error)
- func FindCommnet(mongoenvkatalogfilm, dbname, collname string, r *http.Request) string
- func FindContent(mongoenvkatalogfilm, dbname, collname string, r *http.Request) string
- func FindProduct(mongoenvkatalogfilm, dbname, collname string, r *http.Request) string
- func GCFAllGlobalID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreateAboutt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collabout string, ...) string
- func GCFCreateAccountAndToken(PASETOPRIVATEKEYENV, MONGOCONNSTRINGENV, dbname, collectionname string, ...) string
- func GCFCreateBE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collfe string, ...) string
- func GCFCreateBlogg(publickey, MONGOCONNSTRINGENV, dbname, colluser, collblog string, ...) string
- func GCFCreateCommentt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcomment string, ...) string
- func GCFCreateContactt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontact string, ...) string
- func GCFCreateContent(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreateContentt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontent string, ...) string
- func GCFCreateEventGlobal(publickey, MONGOCONNSTRINGENV, dbname, colluser, colleventglobal string, ...) string
- func GCFCreateEventt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collevent string, ...) string
- func GCFCreateFE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collfe string, ...) string
- func GCFCreateGalleryy(publickey, MONGOCONNSTRINGENV, dbname, colluser, collgallery string, ...) string
- func GCFCreateHandler(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreateHandlerTokenPaseto(PASETOPRIVATEKEYENV, MONGOCONNSTRINGENV, dbname, collectionname string, ...) string
- func GCFCreateIklann(publickey, MONGOCONNSTRINGENV, dbname, colluser, collectioniklan string, ...) string
- func GCFCreateIklannN(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreateLineStringgg(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreateNewBlog(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreatePolygone(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreatePolygonee(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreatePostLineString(MONGOCONNSTRINGENV, dbname, collection string, r *http.Request) string
- func GCFCreatePostLineStringg(MONGOCONNSTRINGENV, dbname, collection string, r *http.Request) string
- func GCFCreatePostLocation(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreateProductt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFCreateSidang(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFCreateTesting(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreateTokenAndSaveToDB(PASETOPRIVATEKEYENV, MONGOCONNSTRINGENV, dbname, collectionname string, ...) (string, error)
- func GCFCretatedEventGlobal(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreteCommnet(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFCreteRegister(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFDeleteAboutt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collabout string, ...) string
- func GCFDeleteBE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collfe string, ...) string
- func GCFDeleteBlog(publickey, MONGOCONNSTRINGENV, dbname, colluser, collblog string, ...) string
- func GCFDeleteCommentt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcomment string, ...) string
- func GCFDeleteContactt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontact string, ...) string
- func GCFDeleteContent(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontent string, ...) string
- func GCFDeleteEventGlobal(publickey, MONGOCONNSTRINGENV, dbname, colluser, colleventglobal string, ...) string
- func GCFDeleteEventt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collevent string, ...) string
- func GCFDeleteFE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collfe string, ...) string
- func GCFDeleteGalleryy(publickey, MONGOCONNSTRINGENV, dbname, colluser, collgallery string, ...) string
- func GCFDeleteHandler(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFDeleteHandlerContent(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFDeleteIklann(publickey, MONGOCONNSTRINGENV, dbname, colluser, collectioniklan string, ...) string
- func GCFDeleteLineString(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFDeleteProduct(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFDeleteSidang(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFDeleteTesting(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFDeletedCommnet(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFEndCodepaseto(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFFindBlogAllID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFFindContentAllID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFFindUserByID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFFindUserByName(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllAboutt(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllBE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFGetAllBlog(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllBlogg(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllComment(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllCommentt(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllCommenttID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllContactt(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllContacttID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllContentBy(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllContentt(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllContenttID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllEvent(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllEventGlobal(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllEventGlobalID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllEventt(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllFE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFGetAllGalleryy(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllGalleryyID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllIklann(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllIklannID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllPrivateID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllProduct(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllProductt(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetAllProducttID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFGetAllSidang(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetSidang(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFGetallTesting(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFHandler(MONGOCONNSTRINGENV, dbname, collectionname string) string
- func GCFLoginAfterCreate(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFLoginAfterCreatee(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFLoginAfterCreateee(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFLoginAfterCreateeee(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFLoginAfterCreater(MONGOCONNSTRINGENV, dbname, collectionname, privateKeyEnv string, ...) (string, error)
- func GCFLoginFixx(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFLoginFixxx(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFLoginTest(username, password, MONGOCONNSTRINGENV, dbname, collectionname string) bool
- func GCFPoint(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFPostGeoIntersects(mongoenv, dbname string, r *http.Request) string
- func GCFPostHandler(PASETOPRIVATEKEYENV, MONGOCONNSTRINGENV, dbname, collectionname string, ...) string
- func GCFPostHandlerrr(PASETOPRIVATEKEYENV, MONGOCONNSTRINGENV, dbname, collectionname string, ...) string
- func GCFReturnStruct(DataStuct any) string
- func GCFUpdateAboutt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collabout string, ...) string
- func GCFUpdateBE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFUpdateBlog(publickey, MONGOCONNSTRINGENV, dbname, colluser, collblog string, ...) string
- func GCFUpdateContactt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontact string, ...) string
- func GCFUpdateEventGlobal(publickey, MONGOCONNSTRINGENV, dbname, colluser, colleventglobal string, ...) string
- func GCFUpdateEventt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collevent string, ...) string
- func GCFUpdateFE(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFUpdateGalleryy(publickey, MONGOCONNSTRINGENV, dbname, colluser, collgallery string, ...) string
- func GCFUpdateHandler(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFUpdateIklann(publickey, MONGOCONNSTRINGENV, dbname, colluser, collectioniklan string, ...) string
- func GCFUpdateLinestring(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFUpdateProduct(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFUpdateSidang(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, ...) string
- func GCFUpdatedContent(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFUpdatedTesting(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GCFlineStingCreate(MONGOCONNSTRINGENV, dbname, collection string, r *http.Request) string
- func GCFlineStingCreatea(MONGOCONNSTRINGENV, dbname, collection string, r *http.Request) string
- func GFCPostHandlerUser(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
- func GenerateKey() (privatekey, publickey string)
- func GenerateRandomNumber() string
- func GeoIntersects(mongoconn *mongo.Database, long float64, lat float64) (namalokasi string)
- func GeoWithin(mongoconn *mongo.Database, coordinates [][][]float64) (namalokasi []string)
- func GeometryFix(mongoenv, dbname string, r *http.Request) string
- func Geometryyy(mongoconn *mongo.Database, coordinates [][][]float64) (namalokasi string)
- func GetBoxDoc(db *mongo.Database, collname string, coordinates Polyline) (result string)
- func GetBoxDoccc(mongoconn *mongo.Database, coordinates Polyline) (result string, err error)
- func HashPassword(password string) (string, error)
- func InsertUser(mconn *mongo.Database, collname string, datauser User) interface{}
- func InsertUserdata(mongoconn *mongo.Database, collname, username, password, no_whatsapp string) (InsertedID interface{})
- func IsPasswordValid(mongoconn *mongo.Database, collection string, userdata User) bool
- func Login(privatekeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func MaxDistance(mongoenv, dbname string, r *http.Request) string
- func MaxDistancee(mongoconn *mongo.Database, point []float64, maxdistance float64) (namalokasi string)
- func MinDistancee(mongoconn *mongo.Database, point []float64, minDistance float64) (namalokasi string)
- func MinDistanceee(mongoenv, dbname string, r *http.Request) string
- func Near(mongoconn *mongo.Database, long float64, lat float64, max float64, min float64) ([]string, error)
- func NearSpehere(mongoconn *mongo.Database, long float64, lat float64) ([]string, error)
- func NearSpeheree(mongoenv, dbname string, r *http.Request) string
- func Polygon(mongoconn *mongo.Database, coordinates [][][]float64) (namalokasi string)
- func Polygonn(mongoconn *mongo.Database, coordinates [][][]float64) (namalokasi string)
- func Polygonnn(mongoenv, dbname string, r *http.Request) string
- func PostGeoWithin(mongoenv, dbname string, r *http.Request) string
- func PostLinestring(mongoconn *mongo.Database, collection string, linestringdata GeoJsonLineString) interface{}
- func PostLocation(mongoconn *mongo.Database, collection string, locationdata Location) interface{}
- func PostNear(mongoenv, dbname string, r *http.Request) string
- func PostPoint(mongoconn *mongo.Database, collection string, pointdata GeometryPoint) interface{}
- func PostPolygone(mongoconn *mongo.Database, collection string, polygonedata GeoJsonPolygon) interface{}
- func PostTesting(mongoconn *mongo.Database, collection string, testingdata Testing) interface{}
- func Registrasi(token, mongoenv, dbname, collname string, r *http.Request) string
- func Registrasii(mongoenvkatalogfilm, dbname, collname string, r *http.Request) string
- func ReplaceContent(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func ReplaceOneDoc(mongoconn *mongo.Database, collection string, filter bson.M, userdata User) interface{}
- func SetConnection(MONGOCONNSTRINGENV, dbname string) *mongo.Database
- func SetConnection2dsphereMax(mongoenv, dbname string) *mongo.Database
- func SetConnection2dsphereMix(mongoenv, dbname string) *mongo.Database
- func SetConnection2dsphereTest(mongoenv, dbname string) *mongo.Database
- func SetConnection2dsphereTestBox(mongoenv, dbname string) *mongo.Database
- func SetConnection2dsphereTestPoint(mongoenv, dbname string) *mongo.Database
- func TestPolygon(t *testing.T)
- func UpdateBackend(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdateCommentApi(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func UpdateContentAPI(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func UpdateFrontend(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdateProductAPI(publickeykatalogfilm, mongoenvkatalogfilm, dbname, collname string, ...) string
- func UpdateSidang(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdateSidangFix(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdatedAbout(mongoconn *mongo.Database, collection string, filter bson.M, aboutdata About) interface{}
- func UpdatedBlog(mongoconn *mongo.Database, collection string, filter bson.M, blogdata Blog) interface{}
- func UpdatedComment(mongoconn *mongo.Database, collection string, commentdata Comment) interface{}
- func UpdatedContact(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdatedContentt(mongoconn *mongo.Database, collection string, contentdata Content) interface{}
- func UpdatedEvent(mongoconn *mongo.Database, collection string, filter bson.M, eventdata Event) interface{}
- func UpdatedEventGlobal(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdatedGallery(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdatedIklan(mongoconn *mongo.Database, collection string, filter bson.M, iklandata Iklan) interface{}
- func UpdatedLinestring(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdatedProduct(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UpdatedProductt(mconn *mongo.Database, collname string, datasalon Product) interface{}
- func UpdatedTesting(mongoconn *mongo.Database, collection string, filter bson.M, ...) interface{}
- func UsernameExists(mongoenvkatalogfilm, dbname string, userdata User) bool
- type About
- type Backend
- type Blog
- func GetAllBlog(mongoconn *mongo.Database, collection string) []Blog
- func GetAllBlogAll(mongoconn *mongo.Database, collection string) []Blog
- func GetIDBlog(mongoconn *mongo.Database, collection string, blogdata Blog) Blog
- func GetIDBloggg(mongoconn *mongo.Database, collection string, blogdata Blog) Blog
- type Category
- type Comment
- type Contack
- type Content
- func FindContentAllId(mongoconn *mongo.Database, collection string, contentdata Content) Content
- func FindallContent(mconn *mongo.Database, collname string) []Content
- func GetAllContent(mongoconn *mongo.Database, collection string) []Content
- func GetAllContentt(mongoconn *mongo.Database, collection string) []Content
- func GetIDContentt(mongoconn *mongo.Database, collection string, contentdata Content) Content
- type Credential
- func GCFCreateProduct(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) Credential
- func GCFCreateProducttWithpublickey(MONGOCONNSTRINGENV, dbname, collectionname string, publickey string, ...) Credential
- func GCFCreateProducttWithpublickeyFix(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) Credential
- type CredentialUser
- type Event
- type EventGlobal
- type Frontend
- type FullGeoJson
- type Gallery
- type GeoBorder
- type GeoJson
- type GeoJsonLineString
- type GeoJsonPolygon
- type Geometry
- type GeometryLineString
- type GeometryPoint
- type GeometryPolygon
- type Iklan
- type InputSidang
- type Location
- type LocationData
- type Lokasi
- type LongLat
- type LongLatt
- type Name
- type Payload
- type Pesan
- type Polyline
- type Product
- func FindallProduct(mconn *mongo.Database, collname string) []Product
- func GetAllProduct(mongoconn *mongo.Database, collection string) []Product
- func GetAllProductID(mongoconn *mongo.Database, collection string, productdata Product) Product
- func GetAllProductt(mongoconn *mongo.Database, collection string) []Product
- type Properties
- type Query
- type Radius
- type Response
- type Share
- type Tags
- type Testing
- type User
- func FindPrivate(mongoconn *mongo.Database, collection string, userdata User) User
- func FindUser(mongoconn *mongo.Database, collection string, userdata User) User
- func FindUserByPrivate(mongoconn *mongo.Database, collection string, userdata User) (User, error)
- func FindUserByUsername(mongoconn *mongo.Database, collection string, username string) (User, error)
- func FindUserByname(mongoconn *mongo.Database, collection string, userdata User) User
- func FindUserUser(mongoconn *mongo.Database, collection string, userdata User) User
- func FindUserUserr(mongoconn *mongo.Database, collection string, userdata User) (User, error)
- func GetAllUser(mongoconn *mongo.Database, collection string) []User
- func GetNameAndPassowrd(mongoconn *mongo.Database, collection string) []User
- func IsPasswordValidd(mconn *mongo.Database, collection string, userdata User) (User, bool)
- type UserToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddedComment ¶ added in v1.9.123
func AddedContent ¶ added in v1.9.123
func AddedProduct ¶ added in v1.9.123
func Authorization ¶ added in v1.9.69
func Authorizationn ¶ added in v1.9.123
func CenterSphere ¶ added in v1.9.93
func CheckPasswordHash ¶
func CreateAbout ¶ added in v1.3.0
func CreateBackend ¶ added in v1.9.75
func CreateBlog ¶ added in v1.9.34
blog function
func CreateComment ¶ added in v1.3.0
comment function
func CreateContact ¶ added in v1.3.0
func CreateContentt ¶ added in v1.9.34
func CreateEvent ¶ added in v1.3.0
func CreateEventGlobal ¶ added in v1.3.0
func CreateEventGlobal(mongoconn *mongo.Database, collection string, eventglobaldata EventGlobal) interface{}
func CreateFronent ¶ added in v1.9.74
func CreateGallery ¶ added in v1.3.0
func CreateIklan ¶ added in v1.3.0
CreateIklan function
func CreateLogin ¶
create login using Private
func CreateNewBlog ¶
func CreateNewContent ¶
func CreateNewContent(mongoconn *mongo.Database, collection string, contentdata Content) interface{}
content
func CreateNewProduct ¶
func CreateNewUserRole ¶
func GetAllUser(mongoconn *mongo.Database, collection string) []User { user := atdb.GetAllDoc[[]User](mongoconn, collection) return user }
func CreateProduct ¶ added in v1.9.34
product function
func CreateSidang ¶ added in v1.9.73
func CreateSidang(mongoconn *mongo.Database, collection string, sidangdata InputSidang) interface{}
func CreateUser ¶
func CreateUserAndAddToken ¶
func DecodeGetName ¶ added in v1.9.123
func DecodeGetNomor ¶ added in v1.9.123
func DecodeGetRole ¶ added in v1.9.69
func DecodeGetUsername ¶ added in v1.9.123
func DeleteAbout ¶ added in v1.3.0
func DeleteBackend ¶ added in v1.9.75
func DeleteBlog ¶ added in v1.9.34
func DeleteComment ¶ added in v1.3.0
func DeleteCommentApi ¶ added in v1.9.123
func DeleteContact ¶ added in v1.3.0
func DeleteContent ¶
func DeleteContentt ¶ added in v1.9.34
func DeleteContenttt ¶ added in v1.9.123
func DeleteEvent ¶ added in v1.3.0
func DeleteEventGlobal ¶ added in v1.3.0
func DeleteEventGlobal(mongoconn *mongo.Database, collection string, eventglobaldata EventGlobal) interface{}
func DeleteFrondent ¶ added in v1.9.74
func DeleteGallery ¶ added in v1.3.0
func DeleteIklan ¶ added in v1.3.0
func DeleteLinestring ¶ added in v1.9.38
func DeleteLinestring(mongoconn *mongo.Database, collection string, linestringdata GeoJsonLineString) interface{}
delete gis
func DeleteProduct ¶ added in v1.9.34
func DeleteProductt ¶ added in v1.9.123
func DeleteSidang ¶ added in v1.9.73
func DeleteSidang(mongoconn *mongo.Database, collection string, sidangdata InputSidang) interface{}
func DeleteTesting ¶ added in v1.9.58
func DeleteUser ¶
func FindCommnet ¶ added in v1.9.123
func FindContent ¶ added in v1.9.123
func FindProduct ¶ added in v1.9.123
func GCFAllGlobalID ¶ added in v1.3.0
func GCFCreateAboutt ¶ added in v1.9.34
func GCFCreateAboutt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collabout string, r *http.Request) string
about post
func GCFCreateBE ¶ added in v1.9.75
func GCFCreateBlogg ¶ added in v1.9.34
func GCFCreateBlogg(publickey, MONGOCONNSTRINGENV, dbname, colluser, collblog string, r *http.Request) string
blog post
func GCFCreateCommentt ¶ added in v1.9.34
func GCFCreateContactt ¶ added in v1.9.34
func GCFCreateContactt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontact string, r *http.Request) string
contact post
func GCFCreateContent ¶
func GCFCreateContentt ¶ added in v1.9.34
func GCFCreateContentt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontent string, r *http.Request) string
content post
func GCFCreateEventGlobal ¶ added in v1.9.34
func GCFCreateEventGlobal(publickey, MONGOCONNSTRINGENV, dbname, colluser, colleventglobal string, r *http.Request) string
event global post
func GCFCreateEventt ¶ added in v1.9.34
func GCFCreateEventt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collevent string, r *http.Request) string
<--- ini event ---> event post
func GCFCreateFE ¶ added in v1.9.74
func GCFCreateGalleryy ¶ added in v1.9.34
func GCFCreateGalleryy(publickey, MONGOCONNSTRINGENV, dbname, colluser, collgallery string, r *http.Request) string
gallery post
func GCFCreateHandler ¶
func GCFCreateIklann ¶ added in v1.9.34
func GCFCreateIklann(publickey, MONGOCONNSTRINGENV, dbname, colluser, collectioniklan string, r *http.Request) string
iklan post
func GCFCreateIklannN ¶ added in v1.9.46
func GCFCreateLineStringgg ¶ added in v1.9.45
func GCFCreateNewBlog ¶
func GCFCreatePolygone ¶ added in v1.9.41
func GCFCreatePolygonee ¶ added in v1.9.44
func GCFCreatePostLineString ¶ added in v1.3.0
func GCFCreatePostLineStringg ¶ added in v1.3.0
func GCFCreatePostLocation ¶ added in v1.9.47
func GCFCreateProductt ¶ added in v1.9.34
func GCFCreateSidang ¶ added in v1.9.73
func GCFCreateTesting ¶ added in v1.9.58
func GCFCretatedEventGlobal ¶ added in v1.3.0
func GCFCreteCommnet ¶ added in v1.3.0
func GCFCreteRegister ¶
func GCFDeleteAboutt ¶ added in v1.9.34
func GCFDeleteAboutt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collabout string, r *http.Request) string
delete about
func GCFDeleteBE ¶ added in v1.9.75
func GCFDeleteBlog ¶ added in v1.9.34
func GCFDeleteBlog(publickey, MONGOCONNSTRINGENV, dbname, colluser, collblog string, r *http.Request) string
delete blog
func GCFDeleteCommentt ¶ added in v1.9.34
func GCFDeleteCommentt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcomment string, r *http.Request) string
delete comment
func GCFDeleteContactt ¶ added in v1.9.34
func GCFDeleteContactt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontact string, r *http.Request) string
delete contact
func GCFDeleteContent ¶ added in v1.9.34
func GCFDeleteContent(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontent string, r *http.Request) string
delete content
func GCFDeleteEventGlobal ¶ added in v1.9.34
func GCFDeleteEventGlobal(publickey, MONGOCONNSTRINGENV, dbname, colluser, colleventglobal string, r *http.Request) string
delete event global
func GCFDeleteEventt ¶ added in v1.9.34
func GCFDeleteEventt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collevent string, r *http.Request) string
delete event
func GCFDeleteFE ¶ added in v1.9.74
func GCFDeleteGalleryy ¶ added in v1.9.34
func GCFDeleteGalleryy(publickey, MONGOCONNSTRINGENV, dbname, colluser, collgallery string, r *http.Request) string
delete gallery
func GCFDeleteHandler ¶
func GCFDeleteHandlerContent ¶
func GCFDeleteIklann ¶ added in v1.9.34
func GCFDeleteIklann(publickey, MONGOCONNSTRINGENV, dbname, colluser, collectioniklan string, r *http.Request) string
// delete iklan
func GCFDeleteLineString ¶ added in v1.9.38
func GCFDeleteProduct ¶ added in v1.9.34
func GCFDeleteProduct(publickey, MONGOCONNSTRINGENV, dbname, colluser, collproduct string, r *http.Request) string
delete product
func GCFDeleteSidang ¶ added in v1.9.73
func GCFDeleteTesting ¶ added in v1.9.58
func GCFDeletedCommnet ¶ added in v1.3.0
func GCFEndCodepaseto ¶ added in v1.9.59
func GCFFindBlogAllID ¶
func GCFFindContentAllID ¶
func GCFFindUserByID ¶
func GCFFindUserByName ¶
func GCFGetAllAboutt ¶ added in v1.9.34
get all about
func GCFGetAllBE ¶ added in v1.9.75
func GCFGetAllBlog ¶
func GCFGetAllBlogg ¶ added in v1.9.34
get all blog
func GCFGetAllComment ¶ added in v1.3.0
func GCFGetAllCommentt ¶ added in v1.9.34
get all comment
func GCFGetAllCommenttID ¶ added in v1.9.34
get all comment by id
func GCFGetAllContactt ¶ added in v1.9.34
get all contact
func GCFGetAllContacttID ¶ added in v1.9.34
get all contact by id
func GCFGetAllContentBy ¶
func GCFGetAllContentt ¶ added in v1.9.34
get all content
func GCFGetAllContenttID ¶ added in v1.9.34
get all content by id
func GCFGetAllEvent ¶ added in v1.3.0
get all
func GCFGetAllEventGlobal ¶ added in v1.9.34
get all event global
func GCFGetAllEventGlobalID ¶ added in v1.9.34
func GCFGetAllEventGlobalID(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) string
get all event global by id
func GCFGetAllEventt ¶ added in v1.9.34
get all event
func GCFGetAllFE ¶ added in v1.9.74
func GCFGetAllGalleryy ¶ added in v1.9.34
get all gallery
func GCFGetAllGalleryyID ¶ added in v1.9.34
get all gallery by id
func GCFGetAllIklann ¶ added in v1.9.34
get all iklan
func GCFGetAllIklannID ¶ added in v1.9.34
get all iklan by id
func GCFGetAllPrivateID ¶ added in v1.9.59
func GCFGetAllProduct ¶
product
func GCFGetAllProductt ¶ added in v1.9.34
get all product
func GCFGetAllProducttID ¶ added in v1.9.34
get all product by id
func GCFGetAllSidang ¶ added in v1.9.73
func GCFGetSidang ¶ added in v1.9.73
func GCFGetallTesting ¶ added in v1.9.58
func GCFHandler ¶ added in v1.9.37
func GCFLoginAfterCreate ¶
func GCFLoginAfterCreatee ¶
func GCFLoginAfterCreateee ¶
func GCFLoginAfterCreateeee ¶
func GCFLoginAfterCreater ¶
func GCFLoginFixx ¶ added in v1.3.0
func GCFLoginFixxx ¶ added in v1.3.0
func GCFLoginTest ¶
func GCFPostGeoIntersects ¶ added in v1.9.89
func GCFPostHandler ¶
func GCFPostHandlerrr ¶ added in v1.9.65
func GCFReturnStruct ¶
func GCFUpdateAboutt ¶ added in v1.9.34
func GCFUpdateAboutt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collabout string, r *http.Request) string
update about
func GCFUpdateBE ¶ added in v1.9.75
func GCFUpdateBlog ¶ added in v1.9.34
func GCFUpdateBlog(publickey, MONGOCONNSTRINGENV, dbname, colluser, collblog string, r *http.Request) string
update blog
func GCFUpdateContactt ¶ added in v1.9.34
func GCFUpdateContactt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collcontact string, r *http.Request) string
update contact
func GCFUpdateEventGlobal ¶ added in v1.9.34
func GCFUpdateEventGlobal(publickey, MONGOCONNSTRINGENV, dbname, colluser, colleventglobal string, r *http.Request) string
update event global
func GCFUpdateEventt ¶ added in v1.9.34
func GCFUpdateEventt(publickey, MONGOCONNSTRINGENV, dbname, colluser, collevent string, r *http.Request) string
update event
func GCFUpdateFE ¶ added in v1.9.74
func GCFUpdateGalleryy ¶ added in v1.9.34
func GCFUpdateGalleryy(publickey, MONGOCONNSTRINGENV, dbname, colluser, collgallery string, r *http.Request) string
// update gallery
func GCFUpdateHandler ¶
func GCFUpdateIklann ¶ added in v1.9.34
func GCFUpdateIklann(publickey, MONGOCONNSTRINGENV, dbname, colluser, collectioniklan string, r *http.Request) string
// update iklan
func GCFUpdateLinestring ¶ added in v1.9.38
func GCFUpdateProduct ¶ added in v1.9.34
func GCFUpdateSidang ¶ added in v1.9.73
func GCFUpdatedContent ¶
func GCFUpdatedTesting ¶ added in v1.9.58
func GCFlineStingCreate ¶ added in v1.9.44
func GCFlineStingCreatea ¶ added in v1.9.44
func GFCPostHandlerUser ¶
func GenerateKey ¶ added in v1.9.74
func GenerateKey() (privatekey, publickey string)
func GenerateRandomNumber ¶ added in v1.9.123
func GenerateRandomNumber() string
func GeoIntersects ¶ added in v1.9.89
func GeometryFix ¶ added in v1.9.95
func Geometryyy ¶ added in v1.9.95
func GetBoxDoccc ¶ added in v1.9.93
func HashPassword ¶
func InsertUser ¶ added in v1.9.123
func InsertUserdata ¶ added in v1.9.51
func IsPasswordValid ¶
func MaxDistance ¶ added in v1.9.93
func MaxDistancee ¶ added in v1.9.93
func MinDistancee ¶ added in v1.9.93
func MinDistanceee ¶ added in v1.9.93
func NearSpehere ¶ added in v1.9.91
Modify the NearSpehere function
func NearSpeheree ¶ added in v1.9.91
Calling code for NearSpeheree
func PostGeoWithin ¶ added in v1.9.89
func PostLinestring ¶ added in v1.3.0
func PostLinestring(mongoconn *mongo.Database, collection string, linestringdata GeoJsonLineString) interface{}
func PostLocation ¶ added in v1.9.47
func PostPoint ¶ added in v1.9.41
func PostPoint(mongoconn *mongo.Database, collection string, pointdata GeometryPoint) interface{}
func PostPolygone ¶ added in v1.9.41
func PostPolygone(mongoconn *mongo.Database, collection string, polygonedata GeoJsonPolygon) interface{}
func PostTesting ¶ added in v1.9.58
testing crud
func Registrasi ¶ added in v1.9.51
func Registrasii ¶ added in v1.9.123
func ReplaceContent ¶
func ReplaceOneDoc ¶
func SetConnection ¶
func SetConnection2dsphereMax ¶ added in v1.9.93
func SetConnection2dsphereMix ¶ added in v1.9.93
func SetConnection2dsphereTest ¶ added in v1.9.89
func SetConnection2dsphereTestBox ¶ added in v1.9.93
func SetConnection2dsphereTestPoint ¶ added in v1.9.91
func TestPolygon ¶ added in v1.9.91
func UpdateBackend ¶ added in v1.9.75
func UpdateCommentApi ¶ added in v1.9.123
func UpdateContentAPI ¶ added in v1.9.123
func UpdateFrontend ¶ added in v1.9.74
func UpdateProductAPI ¶ added in v1.9.123
func UpdateSidang ¶ added in v1.9.73
func UpdateSidangFix ¶ added in v1.9.73
func UpdatedAbout ¶ added in v1.3.0
func UpdatedBlog ¶ added in v1.9.34
func UpdatedComment ¶ added in v1.3.0
func UpdatedContact ¶ added in v1.3.0
func UpdatedContentt ¶ added in v1.9.34
func UpdatedEvent ¶ added in v1.3.0
func UpdatedEventGlobal ¶ added in v1.3.0
func UpdatedGallery ¶ added in v1.3.0
func UpdatedIklan ¶ added in v1.3.0
func UpdatedLinestring ¶ added in v1.9.38
func UpdatedProduct ¶ added in v1.9.34
func UpdatedProductt ¶ added in v1.9.123
func UpdatedTesting ¶ added in v1.9.58
func UsernameExists ¶ added in v1.9.123
Types ¶
type About ¶
type About struct { ID int `json:"id" bson:"id"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` Image string `json:"image" bson:"image"` Content []Content `json:"content" bson:"content"` Product []Product `json:"product" bson:"product"` Status bool `json:"status" bson:"status"` }
func GetAllAbout ¶ added in v1.3.0
type Backend ¶ added in v1.9.75
type Backend struct { Npm int `json:npm bson:"npm"` Nama string `json:nama bson:"nama"` NamaDosen string `json:namadosen bson:"namadosen"` Autentikasitoken string `json:autentikasitoken bson:"autentikasitoken"` Packagesendiri string `json:packagesendiri bson:"packagesendiri"` Endpointgcfjakarta string `json:endpointgcfjakarta bson:"endpointgcfjakarta"` Integrasiwamyid string `json:integrasiwamyid bson:"integrasiwamyid"` Status bool `json:status bson:"status"` }
func FindBackend ¶ added in v1.9.87
type Blog ¶
type Blog struct { ID int `json:"id" bson:"id"` Content string `json:"content_one" bson:"content_one"` Content_two string `json:"content_two" bson:"content_two"` Image string `json:"image" bson:"image"` Title string `json:"title" bson:"title"` Title_two string `json:"title_two" bson:"title_two"` Description string `json:"description" bson:"description"` Description_twoo string `json:"description_two" bson:"description_two"` Description_three string `json:"description_3" bson:"description_3"` Status bool `json:"status" bson:"status"` }
func GetAllBlog ¶ added in v1.9.34
type Comment ¶
type Comment struct { ID int `json:"id" bson:"id"` Username string `json:"username" bson:"username"` Answer string `json:"comment" bson:"comment"` Questions string `json:"questions" bson:"questions"` Tanggal string `json:"tanggal" bson:"tanggal"` Status bool `json:"status" bson:"status"` }
func GetAllComment ¶ added in v1.3.0
type Contack ¶
type Contack struct { ID int `json:"id" bson:"id"` Name string `json:"title" bson:"title"` Subject string `json:"description" bson:"description"` Message string `json:"image" bson:"image"` Email string `json:"email" bson:"email"` Phone string `json:"phone" bson:"phone"` Status bool `json:"status" bson:"status"` }
func GetAllContact ¶ added in v1.3.0
type Content ¶
type Content struct { ID int `json:"id" bson:"id" ` Content string `json:"content" bson:"content"` Image string `json:"image" bson:"image"` Description string `json:"description" bson:"description"` Status bool `json:"status" bson:"status"` }
func FindContentAllId ¶
func FindallContent ¶ added in v1.9.123
func GetAllContentt ¶ added in v1.9.34
type Credential ¶
type Credential struct { Status bool `json:"status" bson:"status"` Token string `json:"token,omitempty" bson:"token,omitempty"` Message string `json:"message,omitempty" bson:"message,omitempty"` Username string `json:"username,omitempty" bson:"username,omitempty"` Data interface{} `json:"data,omitempty" bson:"data,omitempty"` }
func GCFCreateProduct ¶
func GCFCreateProduct(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) Credential
func GCFCreateProducttWithpublickey ¶ added in v1.3.0
func GCFCreateProducttWithpublickey(MONGOCONNSTRINGENV, dbname, collectionname string, publickey string, r *http.Request) Credential
func GCFCreateProducttWithpublickeyFix ¶ added in v1.3.0
func GCFCreateProducttWithpublickeyFix(MONGOCONNSTRINGENV, dbname, collectionname string, r *http.Request) Credential
type CredentialUser ¶ added in v1.9.123
type CredentialUser struct { Status bool `json:"status" bson:"status"` Data struct { Name string `json:"name" bson:"name"` Username string `json:"username" bson:"username"` Role string `json:"role" bson:"role"` Nomor string `json:"nomor" bson:"nomor"` } `json:"data" bson:"data"` Message string `json:"message,omitempty" bson:"message,omitempty"` }
type Event ¶
type Event struct { ID int `json:"id" bson:"id"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` Tanggal string `json:"tanggal" bson:"tanggal"` Image string `json:"image" bson:"image"` Harga int `json:"harga" bson:"harga"` LinkYoutube string `json:"linkyoutube" bson:"linkyoutube"` Content []Content `json:"content" bson:"content"` Product []Product `json:"product" bson:"product"` Status bool `json:"status" bson:"status"` }
func GetAllEvent ¶ added in v1.3.0
type EventGlobal ¶
type EventGlobal struct { ID int `json:"id" bson:"id"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` Tanggal string `json:"tanggal" bson:"tanggal"` Image string `json:"image" bson:"image"` Harga int `json:"harga" bson:"harga"` Content []Content `json:"content" bson:"content"` Product []Product `json:"product" bson:"product"` Status bool `json:"status" bson:"status"` }
func GetAllEventGlobal ¶ added in v1.3.0
func GetAllEventGlobal(mongoconn *mongo.Database, collection string) []EventGlobal
func GetAllEventGlobalId ¶ added in v1.3.0
func GetAllEventGlobalId(mongoconn *mongo.Database, collection string, eventglobaldata EventGlobal) []EventGlobal
type Frontend ¶ added in v1.9.74
type Frontend struct { Npm int `json:npm bson:"npm"` Nama string `json:nama bson:"nama"` NamaDosen string `json:namadosen bson:"namadosen"` Rilisjs string `json:rilisjs bson:"rilisjs"` Pemanggilanjs string `json:pemanggilanjs bson:"pemanggilanjs"` Kelengkapancss string `json:kelengkapancss bson:"kelengkapancss"` CustomDomain string `json:customdomain bson:"customdomain"` Status bool `json:status bson:"status"` }
func FindFrontend ¶ added in v1.9.87
func GetAllFrontend ¶ added in v1.9.74
type FullGeoJson ¶ added in v1.9.91
type FullGeoJson struct { ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry Geometry `json:"geometry" bson:"geometry"` }
type Gallery ¶
type Gallery struct { ID int `json:"id" bson:"id"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` Image string `json:"image" bson:"image"` Status bool `json:"status" bson:"status"` }
func GetAllGallery ¶ added in v1.3.0
type GeoJson ¶
type GeoJson struct { Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry Geometry `json:"geometry" bson:"geometry"` }
type GeoJsonLineString ¶
type GeoJsonLineString struct { Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry GeometryLineString `json:"geometry" bson:"geometry"` }
func GetByCoordinate ¶ added in v1.3.0
func GetByCoordinate(mongoconn *mongo.Database, collection string, linestringdata GeoJsonLineString) GeoJsonLineString
type GeoJsonPolygon ¶
type GeoJsonPolygon struct { Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry GeometryPolygon `json:"geometry" bson:"geometry"` }
type Geometry ¶
type Geometry struct { Coordinates interface{} `json:"coordinates" bson:"coordinates"` Type string `json:"type" bson:"type"` }
type GeometryLineString ¶
type GeometryPoint ¶
type GeometryPolygon ¶
type Iklan ¶
type Iklan struct { ID int `json:"id" bson:"id"` Title string `json:"title" bson:"title"` Description string `json:"description" bson:"description"` Image string `json:"image" bson:"image"` Status bool `json:"status" bson:"status"` }
func GetAllIklan ¶ added in v1.3.0
type InputSidang ¶ added in v1.9.73
type InputSidang struct { Npm int `json:npm bson:"npm"` Endpoint_token string `jsong:"endpoint_token" bson:"endpoint_token"` Package string `json:"package" bson:"package"` Endpoint_indonesia string `json:"endpoint_indonesia" bson:"endpoint_indonesia"` Wamyid string `json:"wamyid" bson:"wamyid"` RilisJsv string `json:"rilis_jsv" bson:"rilis_jsv"` TypeModule string `json:"type_module" bson:"type_module"` Kelengkapan_css string `json:"kelengkapan_css" bson:"kelengkapan_css"` GithubPages string `json:"github_pages" bson:"github_pages"` }
func GetAllSidang ¶ added in v1.9.73
func GetAllSidang(mongoconn *mongo.Database, collection string) []InputSidang
type LocationData ¶ added in v1.9.93
type Lokasi ¶ added in v1.9.89
type Lokasi struct { ID primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Type string `json:"type" bson:"type"` Properties Properties `json:"properties" bson:"properties"` Geometry Geometry `json:"geometry" bson:"geometry"` }
type Payload ¶ added in v1.3.0
type Payload struct { Name string `json:"name"` Username string `json:"username"` Role string `json:"role"` Nomor string `json:"nomor"` Exp time.Time `json:"exp"` Iat time.Time `json:"iat"` Nbf time.Time `json:"nbf"` }
func IsTokenValid ¶ added in v1.3.0
pengecekantoken
type Pesan ¶ added in v1.9.89
type Pesan struct { Status bool `json:"status" bson:"status"` Message string `json:"message" bson:"message"` Data interface{} `json:"data,omitempty" bson:"data,omitempty"` Role string `json:"role,omitempty" bson:"role,omitempty"` Token string `json:"token,omitempty" bson:"token,omitempty"` Nomor string `json:"nomor,omitempty" bson:"nomor,omitempty"` }
type Polyline ¶ added in v1.9.91
type Polyline struct {
Coordinates [][]float64 `json:"coordinates"`
}
type Product ¶
type Product struct { ID primitive.ObjectID `bson:"_id,omitempty" ` Nomorid int `json:"nomorid" bson:"nomorid"` Name string `json:"name" bson:"name"` Description string `json:"description" bson:"description"` Price int `json:"price" bson:"price"` Stock int `json:"stock" bson:"stock"` Size string `json:"size" bson:"size"` Image string `json:"image" bson:"image"` Status string `json:"status" bson:"status"` }
func FindallProduct ¶ added in v1.9.123
func GetAllProductID ¶ added in v1.9.34
type Properties ¶
type Properties struct {
Name string `json:"name" bson:"name"`
}
type Query ¶ added in v1.9.47
type Query struct { LocationField struct { GeoIntersects struct { Geometry Location `bson:"$geometry"` } `bson:"$geoIntersects"` } `bson:"locationField"` }
type Response ¶
type Response struct { Status bool `json:"status" bson:"status"` Message string `json:"message" bson:"message"` Data interface{} `json:"data" bson:"data"` }
func CreateResponse ¶
type Testing ¶ added in v1.9.58
type Testing struct { ID int `json:"id" bson:"id"` Title string `json:title bson:"title"` Description string `json:description bson:"description"` Image string `json:image bson:"image"` Status bool `json:status bson:"status"` Nama string `json:nama bson:"nama"` // contains filtered or unexported fields }
type User ¶
type User struct { Username string `json:"username" bson:"username"` Password string `json:"password" bson:"password,omitempty"` Role string `json:"role,omitempty" bson:"role,omitempty"` Token string `json:"token,omitempty" bson:"token,omitempty"` Private string `json:"private,omitempty" bson:"private,omitempty"` Publick string `json:"publick,omitempty" bson:"publick,omitempty"` No_whatsapp string `json:"no_whatsapp,omitempty" bson:"no_whatsapp,omitempty"` Nomor string `json:"nomor,omitempty" bson:"nomor,omitempty"` }