Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
768012f2
Commit
768012f2
authored
5 years ago
by
Ooo0oO0o0oO
Browse files
Options
Downloads
Patches
Plain Diff
mv Accesskey into auth_ext.go
parent
3611b382
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
filter/accesskey.go
+0
-10
0 additions, 10 deletions
filter/accesskey.go
filter/auth_ext.go
+24
-0
24 additions, 0 deletions
filter/auth_ext.go
with
24 additions
and
10 deletions
filter/accesskey.go
deleted
100644 → 0
+
0
−
10
View file @
3611b382
package
filter
type
AccessKeyPair
struct
{
AccessKey
string
SecretKey
string
ConsumerSide
string
ProviderSide
string
Creator
string
Options
string
}
This diff is collapsed.
Click to expand it.
filter/auth_
spi
.go
→
filter/auth_
ext
.go
+
24
−
0
View file @
768012f2
...
...
@@ -5,6 +5,15 @@ import (
"github.com/apache/dubbo-go/protocol"
)
type
AccessKeyPair
struct
{
AccessKey
string
`yaml:"accessKey" json:"accessKey,omitempty" property:"accessKey"`
SecretKey
string
`yaml:"secretKey" json:"secretKey,omitempty" property:"secretKey"`
ConsumerSide
string
`yaml:"consumerSide" json:"ConsumerSide,consumerSide" property:"consumerSide"`
ProviderSide
string
`yaml:"providerSide" json:"providerSide,omitempty" property:"providerSide"`
Creator
string
`yaml:"creator" json:"creator,omitempty" property:"creator"`
Options
string
`yaml:"options" json:"options,omitempty" property:"options"`
}
type
Authenticator
interface
{
Sign
(
protocol
.
Invocation
,
*
common
.
URL
)
error
Authenticate
(
protocol
.
Invocation
,
*
common
.
URL
)
error
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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