handlers

package
v0.0.0-...-211de8c Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HomeHandler

func HomeHandler(s server.Server) http.HandlerFunc

func LoginHandler

func LoginHandler(s server.Server) http.HandlerFunc

func MyHandler

func MyHandler(s server.Server) http.HandlerFunc

func SignUpHanlder

func SignUpHanlder(s server.Server) http.HandlerFunc

Types

type HomeResponse

type HomeResponse struct {
	Message string `json:"message"`
	Status  bool   `json:"status"`
}

type SignupLoginRequest

type SignupLoginRequest struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type SignupResponse

type SignupResponse struct {
	Id    string `json:"id"`
	Email string `json:"email"`
}

Jump to

Keyboard shortcuts

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