apiRPCClient is the client-side RPC proxy that runs in the plugin process and connects to the [apiRPCServer] on the Mattermost server side. It implements the API interface and allows plugins to call Mattermost server APIs (e.g., GetUser, CreatePost) by forwarding requests via RPC to apiRPCServer. T
| 119 | // |
| 120 | // This is created during plugin activation and injected into the plugin via SetAPI(). |
| 121 | type apiRPCClient struct { |
| 122 | client *rpc.Client |
| 123 | muxBroker *plugin.MuxBroker |
| 124 | } |
| 125 | |
| 126 | // apiRPCServer is the server-side RPC handler that runs in the Mattermost server process and receives requests from [apiRPCClient]. |
| 127 | // It receives API calls from plugins (via apiRPCClient) and delegates them to the actual |
nothing calls this directly
no outgoing calls
no test coverage detected