fnc

command
v0.0.0-...-2897420 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

README

Template Function

This is the Template function

Generated with

micro new github.com/jinbanglin/examples/template/fnc --namespace=go.micro --alias=template --type=fnc --plugin=registry=etcd

Getting Started

Configuration

  • FQDN: go.micro.fnc.template
  • Type: fnc
  • Alias: template

Dependencies

Micro functions depend on service discovery. The default is consul.

# install consul
brew install consul

# run consul
consul agent -dev

Usage

A Makefile is included for convenience

Build the binary

make build

Run the function once

./template-fnc

Build a docker image

make docker

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
proto
example
Package go_micro_fnc_template is a generated protocol buffer package.
Package go_micro_fnc_template is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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