http

package
v0.0.0-...-ea05f87 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OTelTracer = OtelKey("tracer")
)

Variables

This section is empty.

Functions

func Run

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

Run starts the server.

func StartServer

func StartServer()

StartServer for Debug

Types

type OtelKey

type OtelKey string

type RootHandler

type RootHandler struct {
	creator.CR
	video.VH
	ping.P
	channel.CH
}

RootHandler is a composite handler.

func NewHandler

func NewHandler(
	creatorInteractor usecase.CreatorInteractor,
	videoInteractor usecase.VideoInteractor,
	channelInteractor usecase.ChannelInteractor,
) *RootHandler

NewHandler creates a new instance of a RootHandler.

Directories

Path Synopsis
internal
gen
Code generated by ogen, DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.

Jump to

Keyboard shortcuts

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