Package list golang-github-farsightsec-go-nmsg / debian/latest nmsg_base / encode.proto
debian/latest

Tree @debian/latest (Download .tar.gz)

encode.proto @debian/latestraw · 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;
}