handler

package
v0.0.0-...-1a46f0a Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FailDetails

type FailDetails struct {
	Message string `json:"msg"`
	Reason  string `json:"reason"`
}

type FailureResponse

type FailureResponse struct {
	Status int         `json:"status"`
	Fail   FailDetails `json:"fail"`
}

type MessageHandler

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

func NewMessageHandler

func NewMessageHandler(messageService messageService) *MessageHandler

func (*MessageHandler) GetSwaggerEndpoints

func (h *MessageHandler) GetSwaggerEndpoints() []*endpoint.EndPoint

func (*MessageHandler) SetRoutes

func (h *MessageHandler) SetRoutes(app *fiber.App)

type SuccessResponse

type SuccessResponse struct {
	Status  int         `json:"status"`
	Success interface{} `json:"success"`
}

Jump to

Keyboard shortcuts

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