upda/server/dto.go
Varakh 9bd4255d00
All checks were successful
/ build (pull_request) Successful in 3m24s
feat(actions): Add support for <VAR>STATE</VAR>
2024-04-26 19:34:07 +02:00

16 lines
352 B
Go

package server
// DTOs
type actionPayloadShoutrrrDto struct {
Body string `json:"body" binding:"required" validate:"required"`
Urls []string `json:"urls" binding:"required" validate:"required,min=1"`
}
type eventPayloadInformationDto struct {
Host string
Application string
Provider string
Version string
State string
}