UsersBackend

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 4 Imported by: 1

README

UsersBackend

Backend untuk Handle data User

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(Privatekey, MongoEnv, dbname, Colname string, r *http.Request) string

func Register

func Register(Mongoenv, dbname string, r *http.Request) string

Types

type ResponseBack

type ResponseBack struct {
	Status  int      `json:"status"`
	Message string   `json:"message"`
	Data    []string `json:"data"`
}

Jump to

Keyboard shortcuts

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