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

Method AddEndpoint

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

AddEndpoint registers new endpoints on a service. The endpoint's subject will be prefixed with the group prefix.

(string, Handler, ...EndpointOpt)

Source from the content-addressed store, hash-verified

64 // AddEndpoint registers new endpoints on a service.
65 // The endpoint's subject will be prefixed with the group prefix.
66 AddEndpoint(string, Handler, ...EndpointOpt) error
67 }
68
69 EndpointOpt func(*endpointOpts) error

Callers 11

ExampleFunction · 0.65
ExampleService_AddGroupFunction · 0.65
TestAddServiceFunction · 0.65
TestGroupsFunction · 0.65
TestServiceStatsFunction · 0.65
TestCustomQueueGroupFunction · 0.65

Implementers 2

servicemicro/service.go
groupmicro/service.go

Calls

no outgoing calls

Tested by 11

ExampleFunction · 0.52
ExampleService_AddGroupFunction · 0.52
TestAddServiceFunction · 0.52
TestGroupsFunction · 0.52
TestServiceStatsFunction · 0.52
TestCustomQueueGroupFunction · 0.52