api

package
v0.0.0-...-f8c3f29 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FiberServer

type FiberServer struct {
	App     *fiber.App
	Config  config.Getter
	Service service.App
}

FiberServer gofiber api server

func NewFiberServer

func NewFiberServer() *FiberServer

NewFiberServer create instance of fiber server

func (*FiberServer) Configure

func (f *FiberServer) Configure(ctx context.Context, config config.Getter) error

Configure configure fiber server

func (*FiberServer) Serve

func (f *FiberServer) Serve() error

Serve start fiber server

type Server

type Server interface {
	Configure(ctx context.Context, config config.Getter) error
	Serve() error
}

Server API server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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