I have a remote agents with central server. The server writes a gob-encoded struct instance over a TLS connection to the remote agents which checks the Type field and acts accordingly. This requires the agents to be updated every time a new operation is defined as they need to add that behavior.
Is there a way to send machine code as a slice of bytes instead so the agent doesn't have to be redeployed so often?