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

Method serviceIdentity

micro/service.go:745–752  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

743}
744
745func (s *service) serviceIdentity() ServiceIdentity {
746 return ServiceIdentity{
747 Name: s.Config.Name,
748 ID: s.id,
749 Version: s.Config.Version,
750 Metadata: s.Config.Metadata,
751 }
752}
753
754// Info returns information about the service
755func (s *service) Info() Info {

Callers 3

AddServiceFunction · 0.95
InfoMethod · 0.95
StatsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected