http

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbyHttpService

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

func NewAlbyHttpService

func NewAlbyHttpService(svc service.Service, albyOAuthSvc alby.AlbyOAuthService, appConfig *config.AppConfig) *AlbyHttpService

func (*AlbyHttpService) RegisterSharedRoutes

func (albyHttpSvc *AlbyHttpService) RegisterSharedRoutes(e *echo.Echo, authMiddleware func(next echo.HandlerFunc) echo.HandlerFunc)

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"message"`
}

type HttpService

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

func NewHttpService

func NewHttpService(svc service.Service, eventPublisher events.EventPublisher) *HttpService

func (*HttpService) RegisterSharedRoutes

func (httpSvc *HttpService) RegisterSharedRoutes(e *echo.Echo)

Jump to

Keyboard shortcuts

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