mifo

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

README

MicroService Foundation

ALPHA: Lile is currently considered "Alpha" in that things may change. Currently I am gathering feedback and will finalise Lile shortly to avoid breaking changes going forward.

This package provides a foundation to build gRPC based microservices.

It takes care of:

  • Server initialization
  • Logging
  • Metrics
  • Middleware

Dependencies

You should vendor the dependencies needed in your project. Depending on the features used the requirements will vary.

Guide

Installation

Service Definition

Methods

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MicroServer

type MicroServer interface {
	Serve() error
	Shutdown()
	Version() string
	String() string
}

func NewMicroServer

func NewMicroServer(options ...option.MsOption) MicroServer

type Mserver added in v1.0.0

type Mserver struct {
	// contains filtered or unexported fields
}

func (*Mserver) Serve added in v1.0.0

func (ms *Mserver) Serve() error

func (*Mserver) Shutdown added in v1.0.0

func (ms *Mserver) Shutdown()

func (*Mserver) String added in v1.0.0

func (ms *Mserver) String() string

func (*Mserver) Version added in v1.0.0

func (ms *Mserver) Version() string

Directories

Path Synopsis
cmd
server

Jump to

Keyboard shortcuts

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