-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* support refresh service * add custom type for refresh service --------- Co-authored-by: vmidyllic <[email protected]>
- Loading branch information
1 parent
6ce2c78
commit d34718c
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
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
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
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,10 @@ | ||
package verifiable | ||
|
||
// RefreshServiceType represent refresh service types | ||
type RefreshServiceType string | ||
|
||
// RefreshService is struct that represents refresh service json-ld document | ||
type RefreshService struct { | ||
ID string `json:"id"` | ||
Type RefreshServiceType `json:"type"` | ||
} |