Split backend service into checker and generator
Both are linked through a unix socket.
This commit is contained in:
parent
f755d7c998
commit
ed091e761c
34 changed files with 660 additions and 208 deletions
18
libfic/generation.go
Normal file
18
libfic/generation.go
Normal 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"`
|
||||
}
|
||||
Reference in a new issue