example

command
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT, MIT Imports: 9 Imported by: 0

README

archaeopteryx_example

This project is a example of usage archaeopteryx for creating microservice on Golang with all required dependencies

Install dependencies

make install

Generate protobuf & docs

make generate

Presequinces

archaeopteryx requires folder for log files. To create it run:

sudo mkdir /var/log/archaeopteryx
sudo chown $USER /var/log/archaeopteryx

Build

Docker

To build docker image use:

make build_docker

Run

Binary

To run server use:

make run
Docker

To run server in docker use:

make run_docker

Test

Unit test

For unit tests use:

make test
Lint

For lint use:

make lint
gRPC

For testing gRPC API use Kreya

Folder kreya contains Kreya project for working with the project.

Also archaeopteryx is compatible with gRPC reflection

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
proto
gen/hello_world/v1
Package hello_world is a reverse proxy.
Package hello_world is a reverse proxy.
gen/user/v1
Package user is a reverse proxy.
Package user is a reverse proxy.
gen/user/v2
Package user is a reverse proxy.
Package user is a reverse proxy.

Jump to

Keyboard shortcuts

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