rest

package
v0.0.0-...-cea2a50 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoomHandler

func AddRoomHandler(as adding.Service) func(w http.ResponseWriter, r *http.Request)

func GetRoomHandler

func GetRoomHandler(rs rdg.Service) func(w http.ResponseWriter, r *http.Request)

func GetUserHandler

func GetUserHandler(rs rdg.Service) func(w http.ResponseWriter, r *http.Request)

func HealthHandler

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

func ListRoomsHandler

func ListRoomsHandler(rs rdg.Service) func(w http.ResponseWriter, r *http.Request)

func ListUsersHandler

func ListUsersHandler(rs rdg.Service) func(w http.ResponseWriter, r *http.Request)

func LoginHandler

func LoginHandler(athS auth.Service) func(w http.ResponseWriter, r *http.Request)

func SigninHandler

func SigninHandler(athS auth.Service) func(w http.ResponseWriter, r *http.Request)

Types

type RoomResponse

type RoomResponse struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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