directory
Version:
v0.5.5
Opens a new window with list of versions in this module.
Published: Mar 18, 2019
License: Apache-2.0
Opens a new window with license information.
README
¶
Sample Microservices
Overview
- this directory contains a simple "calculator" microservice consisting of two services
- service 1: display logic
- implemented in Golang only
- service 2: computation logic
- implemented in Golang and Java
Go-Go
squashctl deploy demo
# interactive prompt: choose namespaces for each service, choose go-go (or go-java)
Go-Java
squashctl deploy demo
# interactive prompt: choose namespaces for each service, choose go-java (or go-go)
Go (dlv) debug tips
b main.handler
- execute current line of code
s
c
- pause execution and create a breakpoint
<control-c> # enter dlv control mode
s # stop the target
Java (jdb) debug tips
stop in io.solo.squash.service2.Service2:23
- execute current line of code
next
cont
Directories
¶
Click to show internal directories.
Click to hide internal directories.