httptansport

package
v0.0.0-...-38b54c2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeHttpHandler

func MakeHttpHandler(l log.Logger, hs dummyservice.Service) *fiber.App

Types

type DecodeRequestFunc

type DecodeRequestFunc func(*fiber.Ctx) (interface{}, error)

type EncodeResponseFunc

type EncodeResponseFunc func(*fiber.Ctx, interface{}) error

type ErrorResponse

type ErrorResponse struct {
	Data   interface{} `json:"data"`
	Result error       `json:"result"`
}

Jump to

Keyboard shortcuts

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