This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding redis db * Update pkg/storage/redis.go Co-authored-by: Andres Uribe <[email protected]> * Update pkg/storage/redis.go Co-authored-by: Andres Uribe <[email protected]> * Update pkg/storage/redis.go Co-authored-by: Andres Uribe <[email protected]> * Update pkg/storage/redis.go Co-authored-by: Andres Uribe <[email protected]> * minor updates * create WriteMany * finishing redis impl, making bolt and redis backwards compatible * fixing linter and merge * Update pkg/storage/redis.go Co-authored-by: Andres Uribe <[email protected]> * removing mutex in most places and fixing small issues * remove mutex in favor of redids atomic transactions * removing links and adding network Co-authored-by: Gabe <[email protected]> Co-authored-by: Andres Uribe <[email protected]>
- Loading branch information
1 parent
e1c3b4c
commit a138310
Showing
11 changed files
with
780 additions
and
347 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
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,60 @@ | ||
title = "SSI Service Config" | ||
|
||
svn = "0.0.1" | ||
desc = "Default configuration to be used while running the service as a single go process." | ||
|
||
# http service configuration | ||
[server] | ||
api_host = "0.0.0.0:3000" | ||
debug_host = "0.0.0.0:4000" | ||
|
||
# 5 seconds, time is in nanoseconds | ||
read_timeout = 5000000000 | ||
write_timeout = 5000000000 | ||
shutdown_timeout = 5000000000 | ||
|
||
log_location = "logs" | ||
# options: trace, debug, info, warning, error, fatal, panic | ||
log_level = "debug" | ||
|
||
enable_schema_caching = true | ||
|
||
# Uncomment one of the following database configurations | ||
# Bolt Configuration | ||
# [services] | ||
# service_endpoint = "http://localhost:8080" | ||
# storage = "bolt" | ||
|
||
# Redis Configuration | ||
# [services] | ||
# service_endpoint = "http://localhost:8080" | ||
# storage = "redis" | ||
|
||
# [services.storage_option] | ||
# address = "redis:6379" | ||
# password = "" | ||
|
||
# per-service configuration | ||
[services.keystore] | ||
name = "keystore" | ||
password = "default-password" | ||
|
||
[services.did] | ||
name = "did" | ||
methods = ["key", "web"] | ||
resolution_methods = ["key", "web", "pkh", "peer"] | ||
|
||
[services.schema] | ||
name = "schema" | ||
|
||
[services.issuing] | ||
name = "issuing" | ||
|
||
[services.credential] | ||
name = "credential" | ||
|
||
[services.manifest] | ||
name = "manifest" | ||
|
||
[services.presentation] | ||
name = "presentation" |
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
Oops, something went wrong.