example/

directory
v0.0.0-...-1b0b962 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2017 License: Apache-2.0

README

gRPC-Web-Example: A simple Golang API server and TypeScript frontend

Get started (with HTTP 1.1)
  • npm install
  • npm run get_go_deps to install Golang dependencies
  • npm start to start the Golang server and Webpack dev server
  • Go to http://localhost:8081
Using HTTP2

HTTP2 requires TLS. This repository contains certificates in the misc directory. You can optionally generate your own replacements using the gen_cert.sh in the same directory.

Follow this guide to accept the certificates in Chrome.

  • npm run start:tls to start the Golang server and Webpack dev server with the certificates in misc
  • Go to https://localhost:8082

Directories

Path Synopsis
go
_proto/examplecom/library
Package examplecom_library is a generated protocol buffer package.
Package examplecom_library is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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