소스 검색

feat (api): priority property on actions

Fela Maslen 5 년 전
부모
커밋
5e2113a289
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      gmus-backend/pkg/server/actions.go

+ 1 - 0
gmus-backend/pkg/server/actions.go

@@ -20,6 +20,7 @@ const (
 type Action struct {
 	Type       ActionType  `json:"type"`
 	FromClient *string     `json:"fromClient"`
+	Priority   *int        `json:"priority"`
 	Payload    interface{} `json:"payload"`
 }