Split backend service into checker and generator

Both are linked through a unix socket.
This commit is contained in:
nemunaire 2023-07-10 09:17:02 +02:00
commit ed091e761c
34 changed files with 660 additions and 208 deletions

18
libfic/generation.go Normal file
View file

@ -0,0 +1,18 @@
package fic
type GenerateType int
const (
GenPublic GenerateType = iota
GenEvents
GenTeam
GenTeams
GenThemes
GenTeamIssues
)
type GenStruct struct {
Id string `json:"id"`
Type GenerateType `json:"type"`
TeamId int64 `json:"team_id,omitempty"`
}