Skip to content

Commit 413d4c7

Browse files
move examples to plugin directory
Signed-off-by: eternal-flame-AD <[email protected]>
1 parent 0480c9b commit 413d4c7

File tree

16 files changed

+8
-997
lines changed

16 files changed

+8
-997
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/gorilla/websocket v1.5.3
1010
github.com/gotify/location v0.0.0-20170722210143-03bc4ad20437
1111
github.com/gotify/plugin-api v1.0.0
12-
github.com/gotify/plugin-api/v2 v2.0.0-20250815172949-e6fc00f4cce2
12+
github.com/gotify/plugin-api/v2 v2.0.0-20250824221031-4e1372442210
1313
github.com/h2non/filetype v1.1.3
1414
github.com/jinzhu/configor v1.2.2
1515
github.com/jinzhu/gorm v1.9.16
@@ -52,6 +52,7 @@ require (
5252
golang.org/x/sys v0.35.0 // indirect
5353
golang.org/x/text v0.28.0 // indirect
5454
google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a // indirect
55+
gopkg.in/yaml.v2 v2.2.2 // indirect
5556
)
5657

5758
go 1.24.5

go.sum

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ github.com/gotify/plugin-api/v2 v2.0.0-20250815171249-8a89a6b98466 h1:sB8IfJRj4w
6868
github.com/gotify/plugin-api/v2 v2.0.0-20250815171249-8a89a6b98466/go.mod h1:R8L7azU9a93YjU8qABI3N0GwtN92wxhR2x1te8iZqWM=
6969
github.com/gotify/plugin-api/v2 v2.0.0-20250815172949-e6fc00f4cce2 h1:fseISdC49surAX7DATBxslVOP+xFZv1zJS6MaywTs1k=
7070
github.com/gotify/plugin-api/v2 v2.0.0-20250815172949-e6fc00f4cce2/go.mod h1:R8L7azU9a93YjU8qABI3N0GwtN92wxhR2x1te8iZqWM=
71+
github.com/gotify/plugin-api/v2 v2.0.0-20250824221031-4e1372442210 h1:lyyvCGXmRlOIODHYfHnhjn3juqTzlkwqi6Unt8BjTns=
72+
github.com/gotify/plugin-api/v2 v2.0.0-20250824221031-4e1372442210/go.mod h1:/5oJWM5EWehNbuxdC2/UTdUy/BhuVmQzF3t13d9hc54=
7173
github.com/h2non/filetype v1.1.3 h1:FKkx9QbD7HR/zjK1Ia5XiBsq9zdLi5Kf3zGyFTAFkGg=
7274
github.com/h2non/filetype v1.1.3/go.mod h1:319b3zT68BvV+WRj7cwy856M2ehB3HqNOt6sy1HndBY=
7375
github.com/jinzhu/configor v1.2.2 h1:sLgh6KMzpCmaQB4e+9Fu/29VErtBUqsS2t8C9BNIVsA=
@@ -177,6 +179,7 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN
177179
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
178180
gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE=
179181
gopkg.in/go-playground/validator.v8 v8.18.2/go.mod h1:RX2a/7Ha8BgOhfk7j780h4/u/RRjR0eouCJSH80/M2Y=
182+
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
180183
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
181184
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
182185
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

plugin/compat/instance.go

Lines changed: 0 additions & 91 deletions
This file was deleted.

plugin/compat/plugin.go

Lines changed: 0 additions & 33 deletions
This file was deleted.

plugin/compat/plugin_test.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

plugin/compat/v1.go

Lines changed: 0 additions & 183 deletions
This file was deleted.

0 commit comments

Comments
 (0)