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

go-chassis/go-chassis-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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