backendbaru

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 9 Imported by: 0

README

backendbaru

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestDeleteTiket

func TestDeleteTiket(t *testing.T)

func TestGeneratePrivateKeyPaseto

func TestGeneratePrivateKeyPaseto(t *testing.T)

func TestGetAllDoc

func TestGetAllDoc(t *testing.T)

func TestGetAllTiket

func TestGetAllTiket(t *testing.T)

func TestGetTiketFromID

func TestGetTiketFromID(t *testing.T)

func TestGetUserByAdmin

func TestGetUserByAdmin(t *testing.T)

func TestGetUserFromEmail

func TestGetUserFromEmail(t *testing.T)

func TestInsertOneTiket

func TestInsertOneTiket(t *testing.T)

Insert-Tiket

func TestInsertTiket

func TestInsertTiket(t *testing.T)

test Tiket

func TestInsertUser

func TestInsertUser(t *testing.T)

func TestLogIn

func TestLogIn(t *testing.T)

func TestReturnStruct

func TestReturnStruct(t *testing.T)

func TestSignUpPengguna

func TestSignUpPengguna(t *testing.T)

func TestUpdatePengguna

func TestUpdatePengguna(t *testing.T)

func TestUpdateTiket

func TestUpdateTiket(t *testing.T)

func TestWatoken

func TestWatoken(t *testing.T)

Types

type Userr

type Userr struct {
	ID    primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Email string             `bson:"email,omitempty" json:"email,omitempty"`
	Role  string             `bson:"role,omitempty" json:"role,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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