go-service-template

command module
v0.0.0-...-5d6d1d5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: BSD-3-Clause Imports: 14 Imported by: 0

README

Go Service Template

Build Status

Basic setup for service prototyping in Alchera Inc.

  • gRPC Echo with TLS (Self-signed)
References

How To

Setup

See .travis.yml for entire steps.

Go Path
$env:GOPATH=Get-Location
export GOPATH=$(pwd)
gRPC
go get google.golang.org/grpc
Protocol Buffer
go get github.com/golang/protobuf/proto
go get github.com/golang/protobuf/protoc-gen-go
Key/Cert Generation

The following scripts requires openssl tool.

bash ./scripts/openssl_key_gen.sh;
bash ./scripts/openssl_cert_selfsign.sh;
Test
go test -cover -v .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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