This is a implementation of dim, which is built in python. But this time in go.
Go to file
Gibheer 88c271667b add function FieldsToJSON
This function enables the show view to be much less write overhead.
By defining which columns to return and automatically merging the
attributes into the main view, this can be made so much easier.

It doesn't support the recursive view for now, so that is something a
client would need to handle, but for now this should be good enough.

This also fixes a small issue in the update clause handler by moving
the index handler into the handler when a column was found.
If that was not done, the index gets moved to the wrong position and the
resulting query would be wrongly indexed.
2021-05-07 21:03:58 +02:00
query add function FieldsToJSON 2021-05-07 21:03:58 +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 missing function links 2021-05-07 10:20:33 +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