Skip to content

Commit 827fc4f

Browse files
committed
provide secure service config
1 parent 92f4517 commit 827fc4f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config/config.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"github.com/anyproto/any-sync/net/rpc"
1212
"github.com/anyproto/any-sync/net/rpc/debugserver"
1313
"github.com/anyproto/any-sync/net/rpc/limiter"
14+
"github.com/anyproto/any-sync/net/secureservice"
1415
"github.com/anyproto/any-sync/net/streampool"
1516
"github.com/anyproto/any-sync/net/transport/quic"
1617
"github.com/anyproto/any-sync/net/transport/yamux"
@@ -55,6 +56,7 @@ type Config struct {
5556
Quic quic.Config `yaml:"quic"`
5657
S3Store archivestore.Config `yaml:"s3Store"`
5758
Archive archive.Config `yaml:"archive"`
59+
Secure secureservice.Config `yaml:"secure"`
5860
}
5961

6062
func (c Config) Init(a *app.App) (err error) {
@@ -136,3 +138,7 @@ func (c Config) GetS3Store() archivestore.Config {
136138
func (c Config) GetArchive() archive.Config {
137139
return c.Archive
138140
}
141+
142+
func (c Config) GetSecureService() secureservice.Config {
143+
return c.Secure
144+
}

0 commit comments

Comments
 (0)