good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pggat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gfx
pggat
Commits
7fc39b68
Commit
7fc39b68
authored
Oct 18, 2023
by
Garet Halliday
Browse files
Options
Downloads
Patches
Plain Diff
pray
parent
00d207f7
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/fed/middlewares/eqp/sync.go
+1
-2
1 addition, 2 deletions
lib/fed/middlewares/eqp/sync.go
lib/util/slices/equal.go
+16
-0
16 additions, 0 deletions
lib/util/slices/equal.go
presets/digitalocean_databases.Caddyfile
+12
-1
12 additions, 1 deletion
presets/digitalocean_databases.Caddyfile
with
29 additions
and
3 deletions
lib/fed/middlewares/eqp/sync.go
+
1
−
2
View file @
7fc39b68
package
eqp
package
eqp
import
(
import
(
"slices"
"gfx.cafe/gfx/pggat/lib/bouncer/backends/v0"
"gfx.cafe/gfx/pggat/lib/bouncer/backends/v0"
"gfx.cafe/gfx/pggat/lib/fed"
"gfx.cafe/gfx/pggat/lib/fed"
packets
"gfx.cafe/gfx/pggat/lib/fed/packets/v3.0"
packets
"gfx.cafe/gfx/pggat/lib/fed/packets/v3.0"
"gfx.cafe/gfx/pggat/lib/util/slices"
)
)
func
preparedStatementsEqual
(
a
,
b
*
packets
.
Parse
)
bool
{
func
preparedStatementsEqual
(
a
,
b
*
packets
.
Parse
)
bool
{
...
...
This diff is collapsed.
Click to expand it.
lib/util/slices/equal.go
0 → 100644
+
16
−
0
View file @
7fc39b68
package
slices
func
Equal
[
T
comparable
](
a
,
b
[]
T
)
bool
{
if
len
(
a
)
!=
len
(
b
)
{
return
false
}
for
i
,
av
:=
range
a
{
bv
:=
b
[
i
]
if
av
!=
bv
{
return
false
}
}
return
true
}
This diff is collapsed.
Click to expand it.
presets/digitalocean_databases.Caddyfile
+
12
−
1
View file @
7fc39b68
:5432 {
:5432 {
ssl
ssl
discovery digitalocean {$PGGAT_DO_API_KEY}
@uniswap_ro {
user uniswap_ro
}
parameter @uniswap_ro hybrid.mode=ro
user @uniswap_ro uniswap
discovery {
discoverer digitalocean {$PGGAT_DO_API_KEY}
pool hybrid
}
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment