Package list golang-github-farsightsec-go-nmsg / a60d316c-8049-4fe1-9741-78067dda131d/main nmsg_base / encode.proto
a60d316c-8049-4fe1-9741-78067dda131d/main

Tree @a60d316c-8049-4fe1-9741-78067dda131d/main (Download .tar.gz)

encode.proto @a60d316c-8049-4fe1-9741-78067dda131d/mainraw · history · blame

syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base";


message Encode {
    enum EncodeType {
        TEXT = 0;
        JSON = 1;
        YAML = 2;
        MSGPACK = 3;
        XML = 4;
    }
    required EncodeType type = 1;
    required bytes      payload = 2;
}