mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Update README.md
This commit is contained in:
@@ -1,20 +1,5 @@
|
||||
A simple hello world service
|
||||
|
||||
# Helloworld Service
|
||||
|
||||
This is the Helloworld service
|
||||
|
||||
## Overview
|
||||
|
||||
An example of how to write a simple helloworld service. This can also be generated using `micro new helloworld`.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
# run the server
|
||||
micro server
|
||||
|
||||
# run the service
|
||||
micro run github.com/micro/services/helloworld
|
||||
|
||||
## call the service
|
||||
micro call helloworld Helloworld.Call '{"name": "Alice"}'
|
||||
```
|
||||
Helloworld simply returns a personalized message in response to a name.
|
||||
|
||||
Reference in New Issue
Block a user