http_server

package
v0.0.0-...-8ae45cf Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUser

func CreateUser(w http.ResponseWriter, r *http.Request)

func StartHTTP1

func StartHTTP1()

func StartHTTP2

func StartHTTP2()

Types

type Response

type Response struct {
	Message string `json:"message"`
	Code    uint64 `json:"code"`
	User    *User  `json:"user"`
}

type User

type User struct {
	ID    string `json:"id"`
	Email string `json:"email"`
	Name  string `json:"name"`
}

Jump to

Keyboard shortcuts

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