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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gfx
pggat
Commits
03ed7053
Commit
03ed7053
authored
1 year ago
by
Garet Halliday
Browse files
Options
Downloads
Patches
Plain Diff
thinking
parent
d730d1e5
No related branches found
Branches containing commit
Tags
v0.2.23
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/gat/gatcaddyfile/README.md
+14
-0
14 additions, 0 deletions
lib/gat/gatcaddyfile/README.md
lib/gat/gatcaddyfile/gattype.go
+7
-2
7 additions, 2 deletions
lib/gat/gatcaddyfile/gattype.go
with
21 additions
and
2 deletions
lib/gat/gatcaddyfile/README.md
0 → 100644
+
14
−
0
View file @
03ed7053
## Server Blocks
Server blocks will be matched in order by their keys. Different SSL configurations may not be used on the same host port pair
(due to technical limitations).
## Directives
| Directive | Description |
|------------------|--------------------------------------------------------------------------|
| ssl | ssl configuration for this server |
| allow_parameters | set which initial parameters are allowed |
| user | rewrite username |
| password | use global password instead of password provided by pool |
| database | rewrite database |
| parameters | rewrite parameters |
| {provider} | a pool provider. if pool is not found, the next provider will be checked |
This diff is collapsed.
Click to expand it.
lib/gat/gatcaddyfile/gattype.go
+
7
−
2
View file @
03ed7053
package
gatcaddyfile
import
(
"log"
"github.com/caddyserver/caddy/v2"
"github.com/caddyserver/caddy/v2/caddyconfig"
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
...
...
@@ -13,6 +15,9 @@ func init() {
type
ServerType
struct
{}
func
(
ServerType
)
Setup
(
blocks
[]
caddyfile
.
ServerBlock
,
m
map
[
string
]
any
)
(
*
caddy
.
Config
,
[]
caddyconfig
.
Warning
,
error
)
{
// TODO implement me
panic
(
"implement me"
)
for
_
,
block
:=
range
blocks
{
log
.
Printf
(
"%#v"
,
block
)
}
return
nil
,
nil
,
nil
}
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