Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,6 @@ Overall, contributions and ideas should revolve around strenghening its core/tra
or around enhancing its interoperability with as much Go code/programs as possible.

- [ ] Add support for encrypted sqlite by default.
- [ ] Encrypt in-memory channels, or add option for it.
- [ ] Simpler/different listener/dialer backend interfaces, if it appears needed.
- [ ] Abstract away the client-side authentication, for pluggable auth/credential models.
- [ ] Replace logrus entirely and restructure behind a single package used by both client/server.
- [ ] Review/refine/strenghen the dialer/listener init/close/start process, if it appears needed.
- [ ] `teamclient update` downloads latest version of the server binary + method to `team.Client` for it.
- [ ] Implement tests for most sensitive paths (certificates management, database functioning, etc)

2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (tc *Client) Connect(options ...Options) (err error) {
// If the teamclient has been passed the WithNoDisconnect() option, it won't
// disconnect.
func (tc *Client) Disconnect() error {
if tc.opts.console {
if tc.opts.noDisconnect {
return nil
}

Expand Down
4 changes: 2 additions & 2 deletions client/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type opts struct {
noLogs bool
logFile string
inMemory bool
console bool
noDisconnect bool
stdout io.Writer
config *Config
logger *logrus.Logger
Expand Down Expand Up @@ -211,6 +211,6 @@ func WithDialer(dialer Dialer) Options {
// This option can only be used once, and should be passed client.New().
func WithNoDisconnect() Options {
return func(opts *opts) {
opts.console = true
opts.noDisconnect = true
}
}