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

Function WithEndpointSubject

micro/service.go:954–959  ·  view source on GitHub ↗
(subject string)

Source from the content-addressed store, hash-verified

952}
953
954func WithEndpointSubject(subject string) EndpointOpt {
955 return func(e *endpointOpts) error {
956 e.subject = subject
957 return nil
958 }
959}
960
961func WithEndpointMetadata(metadata map[string]string) EndpointOpt {
962 return func(e *endpointOpts) error {

Callers 5

TestServiceStatsFunction · 0.92
AddServiceFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestServiceStatsFunction · 0.74