MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / OnNetConnect

Function OnNetConnect

internal/plugins/plugins.go:585–593  ·  view source on GitHub ↗
(n NetConnection)

Source from the content-addressed store, hash-verified

583}
584
585func OnNetConnect(n NetConnection) {
586
587 for _, p := range registry {
588 if p.Callbacks.onNetConnect != nil {
589 p.Callbacks.onNetConnect(n)
590 }
591 }
592
593}
594
595func ReadFile(dfPath string) ([]byte, error) {
596 return registry.ReadFile(dfPath)

Callers 3

handleTelnetConnectionFunction · 0.92
handleSSHConnectionFunction · 0.92

Calls 1

onNetConnectMethod · 0.80

Tested by

no test coverage detected