Skip to content

Commit

Permalink
Merge pull request #34 from TRON-US/host-ui-init
Browse files Browse the repository at this point in the history
Add ui section and host/renter ui initialized flags
  • Loading branch information
Eric Chen authored Apr 8, 2020
2 parents 96b56d6 + f004a21 commit 11f1a39
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ type Config struct {
Provider Provider
Reprovider Reprovider
Experimental Experiments
UI UI
}

const (
Expand Down
14 changes: 14 additions & 0 deletions ui.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package config

type UI struct {
Host HostUI
Renter RenterUI
}

type HostUI struct {
Initialized bool
}

type RenterUI struct {
Initialized bool
}

0 comments on commit 11f1a39

Please sign in to comment.