Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (20 loc) · 485 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 485 Bytes

go-chassis-protocol

How to use

Import the protocol client you want to use

import _ "github.com/go-chassis/go-chassis-protocol/client/grpc"

Import the protocol server you want to use and launch it by chassis.yaml

import _ "github.com/go-chassis/go-chassis-protocol/server/grpc"
cse:
  service:
    registry:
      address: http://127.0.0.1:30100
  protocols:
    grpc:
      listenAddress: 127.0.0.1:5000
      advertiseAddress: 127.0.0.1:5000