File: wire.proto

package info (click to toggle)
golang-github-tonistiigi-fsutil 0.0~git20240424.91a3fc4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 664 kB
  • sloc: sh: 59; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
syntax = "proto3";

package fsutil.types;

option go_package = "types";

import "stat.proto";

message Packet {
  enum PacketType {
      PACKET_STAT = 0;
      PACKET_REQ = 1;
      PACKET_DATA = 2;
      PACKET_FIN = 3;
      PACKET_ERR = 4;
    }
  PacketType type = 1;
  Stat stat = 2;
  uint32 ID = 3;
  bytes data = 4;
}