MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / WithAcceptConnFunc

Method WithAcceptConnFunc

rpc/wrapper.go:41–44  ·  view source on GitHub ↗

WithAcceptConnFunc resets the AcceptConn function of server.

(f AcceptConn)

Source from the content-addressed store, hash-verified

39
40// WithAcceptConnFunc resets the AcceptConn function of server.
41func (s *Server) WithAcceptConnFunc(f AcceptConn) *Server {
42 s.acceptConn = f
43 return s
44}
45
46// PCaller defines generic interface shared with PersistentCaller and RawCaller.
47type PCaller interface {

Callers 3

createServerFunction · 0.45
startMethod · 0.45
setupServersFunction · 0.45

Calls

no outgoing calls

Tested by 2

startMethod · 0.36
setupServersFunction · 0.36