group/

directory
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0

README

Dubbo-Go Group Usage

1. Introduction

When you have multi-impls of a interface,you can distinguish them with the group.

2. How to configure the group

provider side

# server.yml

# service config
services:
  "UserProvider":
    # ...
    group: "group-a"
    # ...

consumer side

# client.yml

# reference config
references:
  "UserProvider":
    # ...
    group: "GroupA"
    # ...

Directories

Path Synopsis
go-client
cmd
pkg
go-server-group-a
cmd
pkg
go-server-group-b
cmd
pkg

Jump to

Keyboard shortcuts

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