system

package
v0.0.0-...-3bb77e7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoint

type Endpoint interface {
	Action(c fiber.Ctx) error
}

endpoint interface

func NewEndpoint

func NewEndpoint() Endpoint

type Request

type Request struct {
	Status string `json:"status" validate:"required"`
	Body   string `json:"body" validate:"required"`
}

type Service

type Service interface {
	Action(c *cctx.Context, req *Request) (interface{}, error)
}

service interface

func NewService

func NewService() Service

Jump to

Keyboard shortcuts

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