form/

directory
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

README

Form

This rudimentary example demonstrates how to access a form and multipart form when writing API services

Contents

  • web - is the web front end with the form
  • api - is the api service

Usage

Run discovery

consul agent -dev

Run the micro api

micro api

Run the micro web

micro web

Run the api service

go run api/main.go

Run the web service

go run web/main.go

Browse to localhost:8082/form

Directories

Path Synopsis
api
proto
Package api is a generated protocol buffer package.
Package api is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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