demo/

directory
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT

README

Demo

How to run

  • infrastructure:

    • redis:6379
    • nats:4222
    • mongo:27017
  • service:

      go run cmd/demo_svc/main.go
    
  • client:

    go build -o demo_cli cmd/demo_cli/main.go
    
  • run grpc client:

    $ ./demo_cli grpc
    $ demo hi
    
  • run zinx client:

    $ ./demo_cli zinx
    $  demo hi
    

Directories

Path Synopsis
api
gen/demo/api
Package pb is a reverse proxy.
Package pb is a reverse proxy.
cmd
internal
pkg
dfx

Jump to

Keyboard shortcuts

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