routes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

func NewRouter

func NewRouter(e *echo.Echo, psClient xpubsub.Interface) *Router

func (*Router) Initialize

func (router *Router) Initialize()

type SubscriptionRequest

type SubscriptionRequest struct {
	ID      string `json:"id" validate:"required"`
	TopicID string `json:"topicId" validate:"required"`
}

type TopicRequest

type TopicRequest struct {
	ID string `json:"id" validate:"required"`
}

Jump to

Keyboard shortcuts

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