services

package
v0.0.0-...-2b8ccbc Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FiboServer

func FiboServer(afterStart func() error, misc ...interface{}) micro.Service

FiboServer creates and rpc service to serve the fibonacci backend to clients

func NewFiboClient

func NewFiboClient(serviceName string) func(number int) (string, error)

func RestServer

func RestServer(afterStart func() error, misc ...interface{}) web.Service

RestServer configures the REST API router and returns a service "misc ...interface{}" are used in an attempt to unify the servers' configuration functions signatures

Types

This section is empty.

Jump to

Keyboard shortcuts

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