github.com/google/cloudprober@v0.11.3/servers/udp/proto/config.proto (about) 1 syntax = "proto2"; 2 3 package cloudprober.servers.udp; 4 5 option go_package = "github.com/google/cloudprober/servers/udp/proto"; 6 7 message ServerConf { 8 required int32 port = 1; 9 10 enum Type { 11 // Echos the incoming packet back. 12 // Note that UDP echo server limits reads to 4098 bytes. For messages longer 13 // than 4098 bytes it won't work as expected. 14 ECHO = 0; 15 16 // Discard the incoming packet. Return nothing. 17 DISCARD = 1; 18 } 19 required Type type = 2; 20 }