Package list golang-github-farsightsec-go-nmsg / upstream/0.0_git20190917.04d2174 nmsg_base / encode.proto
upstream/0.0_git20190917.04d2174

Tree @upstream/0.0_git20190917.04d2174 (Download .tar.gz)

encode.proto @upstream/0.0_git20190917.04d2174raw · history · blame

syntax = "proto2";
package nmsg.base;

enum EncodeType {
    TEXT = 0;
    JSON = 1;
    YAML = 2;
    MSGPACK = 3;
    XML = 4;
}

message Encode {
    required EncodeType type = 1;
    required bytes      payload = 2;
}