MCPcopy Create free account
hub / github.com/apache/dubbo-go / GetServiceOptionsByInterfaceName

Method GetServiceOptionsByInterfaceName

server/server.go:494–498  ·  view source on GitHub ↗

GetServiceOptionsByInterfaceName retrieves the ServiceOptions for a service by its interface name Returns nil if no service is found with the given interface name

(interfaceName string)

Source from the content-addressed store, hash-verified

492// GetServiceOptionsByInterfaceName retrieves the ServiceOptions for a service by its interface name
493// Returns nil if no service is found with the given interface name
494func (s *Server) GetServiceOptionsByInterfaceName(interfaceName string) *ServiceOptions {
495 s.mu.RLock()
496 defer s.mu.RUnlock()
497 return s.interfaceNameServices[interfaceName]
498}

Implementers 8

ExchangeServerremoting/exchange_server.go
mockServerremoting/exchange_server_test.go
Serverremoting/getty/getty_server.go
Serverprotocol/grpc/server.go
Serverprotocol/grpc/internal/helloworld/serv
Serverprotocol/grpc/internal/routeguide/serv
Serverprotocol/triple/server.go
Serverprotocol/jsonrpc/server.go

Calls

no outgoing calls