MCPcopy Create free account
hub / github.com/foxcpp/maddy / InitPush

Method InitPush

internal/updatepipe/unix_pipe.go:95–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93}
94
95func (usp *UnixSockPipe) InitPush() error {
96 sock, err := net.Dial("unix", usp.SockPath)
97 if err != nil {
98 return err
99 }
100
101 usp.sender = sock
102 return nil
103}
104
105func (usp *UnixSockPipe) Push(upd mess.Update) error {
106 if usp.sender == nil {

Callers 1

PushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected