MCPcopy
hub / github.com/tinode/chat / pbInfoNoteWhatDeserialize

Function pbInfoNoteWhatDeserialize

server/pbconverter.go:765–779  ·  view source on GitHub ↗
(what pbx.InfoNote)

Source from the content-addressed store, hash-verified

763}
764
765func pbInfoNoteWhatDeserialize(what pbx.InfoNote) string {
766 var out string
767 switch what {
768 case pbx.InfoNote_KP:
769 out = "kp"
770 case pbx.InfoNote_READ:
771 out = "read"
772 case pbx.InfoNote_RECV:
773 out = "recv"
774 case pbx.InfoNote_CALL:
775 out = "call"
776 default:
777 }
778 return out
779}
780
781func pbCallEventSerialize(event string) pbx.CallEvent {
782 var out pbx.CallEvent

Callers 2

pbServDeserializeFunction · 0.85
pbCliDeserializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…