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

Function WithEndpointMetadata

micro/service.go:961–966  ·  view source on GitHub ↗
(metadata map[string]string)

Source from the content-addressed store, hash-verified

959}
960
961func WithEndpointMetadata(metadata map[string]string) EndpointOpt {
962 return func(e *endpointOpts) error {
963 e.metadata = metadata
964 return nil
965 }
966}
967
968func WithEndpointQueueGroup(queueGroup string) EndpointOpt {
969 return func(e *endpointOpts) error {

Callers 2

AddServiceFunction · 0.85

Calls

no outgoing calls

Tested by 1