MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / Send

Method Send

projects/Go/proto/test/Sender.go:47–57  ·  view source on GitHub ↗

Sender models accessors Send methods

(value interface{})

Source from the content-addressed store, hash-verified

45// Send methods
46
47func (s *Sender) Send(value interface{}) (int, error) {
48 switch value := value.(type) {
49 default:
50 _ = value
51 break
52 }
53 if result, err := s.protoSender.Send(value); (result > 0) || (err != nil) {
54 return result, err
55 }
56 return 0, nil
57}

Callers 6

SendAndReceiveFunction · 0.45
SendAndReceiveFinalFunction · 0.45
mainFunction · 0.45
SetupBenchmarkSenderFunction · 0.45
BenchmarkSendFunction · 0.45
BenchmarkSendWithLogsFunction · 0.45

Calls

no outgoing calls

Tested by 5

SendAndReceiveFunction · 0.36
SendAndReceiveFinalFunction · 0.36
SetupBenchmarkSenderFunction · 0.36
BenchmarkSendFunction · 0.36
BenchmarkSendWithLogsFunction · 0.36