rpc: make DataType a stringer, fixing debug messages

This commit is contained in:
Christian Schwarz
2018-02-08 23:39:46 +01:00
parent 3ba3648f0f
commit 4cf910874d
2 changed files with 18 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ func NewErrorHeader(status Status, format string, args ...interface{}) (h *Heade
return
}
//go:generate stringer -type=DataType
type DataType uint8
const (