handlers

package
v0.0.0-...-c029735 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(es *data.EventService) *Handler

func (*Handler) GetEventTalksHandler

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

func (*Handler) GetEventsHandler

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

type ResponseType

type ResponseType interface {
	data.Events | data.Talks | ErrorResponse
}

Jump to

Keyboard shortcuts

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