gateway

package
v0.0.0-...-fe7ef4e Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(client pb.VideoClient, logger *logkit.Logger) *handler

func NewResponseError

func NewResponseError(statusCode int, message string, err error) *responseError

Types

type Handler

type Handler interface {
	HandleUploadVideo(w http.ResponseWriter, r *http.Request, params map[string]string)
}

type StatusCoder

type StatusCoder interface {
	StatusCode() int
}

Jump to

Keyboard shortcuts

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