nfgo

package module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

nfgo

license Language Build Status GoDoc Go Report Card

NFGO is a simple microservice framework.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	MustServe()
	RegisterOnShutdown(f func() error)
}

Server -

func MustNewServer

func MustNewServer(config *nconf.Config, servers ...graceful.ShutdownServer) Server

MustNewServer -

func NewServer

func NewServer(config *nconf.Config, servers ...graceful.ShutdownServer) (Server, error)

NewServer -

Directories

Path Synopsis
nutil
rpc

Jump to

Keyboard shortcuts

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