httptransport

package
v0.0.0-...-53e80a7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalDashboardResponse

func MarshalDashboardResponse(responseData *way_c.DashboardResponseIDO, w http.ResponseWriter)

Types

type Handler

type Handler struct {
	Logger     *slog.Logger
	Controller dashboard_c.DashboardController
}

Handler Creates http request handler

func NewHandler

func NewHandler(loggerp *slog.Logger, c dashboard_c.DashboardController) *Handler

NewHandler Constructor

func (*Handler) Dashboard

func (h *Handler) Dashboard(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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