This is a implementation of dim, which is built in python. But this time in go.
Go to file
Gibheer 01b87332d9 add a way to set attributes
For this to work, I have added a new function that takes a list of
key looking things and converts them into json.
At the same time, it also can convert json looking payloads and
prepare it for the database (that last part was not intended, but
works).

With the many columns where setting attributes is possible, this
functionality should help quite a bit.
2021-05-07 10:17:05 +02:00
query add a way to set attributes 2021-05-07 10:17:05 +02:00
schema the pool_id should be nullable 2021-05-03 22:38:49 +02:00
types add a way to set attributes 2021-05-07 10:17:05 +02:00
.gitignore add new dim config name to block list 2021-05-03 22:41:58 +02:00
dim.conf.example make dim.conf the default config name 2021-05-03 19:58:44 +02:00
go.mod add go.mod 2021-04-22 10:07:16 +02:00
go.sum add dependency file 2021-05-03 19:44:28 +02:00
ipblock_create.go add layer3domain create and ipblock create 2021-05-03 22:40:27 +02:00
layer3domain_attr.go add a way to set attributes 2021-05-07 10:17:05 +02:00
layer3domain_create.go add a way to set attributes 2021-05-07 10:17:05 +02:00
layer3domain_list.go add a way to set attributes 2021-05-07 10:17:05 +02:00
main.go add layer3domain create and ipblock create 2021-05-03 22:40:27 +02:00
server.go define result as interface{} 2021-05-03 19:43:25 +02:00
zone_create.go provide initial versions of zone endpoints 2021-04-28 21:09:38 +02:00
zone_list.go convert query result to dim result 2021-05-03 19:39:41 +02:00