fiber

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const OK string = "OK"

Variables

View Source
var (
	ErrAuthorizationHeaderRequired = errors.New("authorization header required")
)

Functions

func NewFiberServer

func NewFiberServer(authUC *authUseCase.UseCase) *fiberServer

Types

type Response

type Response struct {
	Data      interface{} `json:"data"`
	Error     string      `json:"error"`
	ErrorCode int         `json:"error_code"`
}

Jump to

Keyboard shortcuts

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