MCPcopy
hub / github.com/nats-io/nats.go / AddGroup

Method AddGroup

micro/service.go:62–62  ·  view source on GitHub ↗

AddGroup creates a new group, prefixed by this group's prefix.

(string, ...GroupOpt)

Source from the content-addressed store, hash-verified

60 Group interface {
61 // AddGroup creates a new group, prefixed by this group's prefix.
62 AddGroup(string, ...GroupOpt) Group
63
64 // AddEndpoint registers new endpoints on a service.
65 // The endpoint's subject will be prefixed with the group prefix.

Callers 5

ExampleFunction · 0.65
ExampleService_AddGroupFunction · 0.65
TestGroupsFunction · 0.65
TestCustomQueueGroupFunction · 0.65

Implementers 2

servicemicro/service.go
groupmicro/service.go

Calls

no outgoing calls

Tested by 5

ExampleFunction · 0.52
ExampleService_AddGroupFunction · 0.52
TestGroupsFunction · 0.52
TestCustomQueueGroupFunction · 0.52