-
Notifications
You must be signed in to change notification settings - Fork 929
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
30d2e1e
commit 8f179d9
Showing
3 changed files
with
24 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package filter | ||
|
||
import ( | ||
"github.com/apache/dubbo-go/common" | ||
"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 | ||
} | ||
|
||
type AccesskeyStorage interface { | ||
GetAccesskeyPair(protocol.Invocation, *common.URL) *AccessKeyPair | ||
} |
This file was deleted.
Oops, something went wrong.