Skip to content

Commit

Permalink
Omitted unsupported json fields
Browse files Browse the repository at this point in the history
  • Loading branch information
euforia committed Dec 14, 2016
1 parent 4fa7f48 commit 7004178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chord.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ type Delegate interface {
type Config struct {
Hostname string // Local host name
NumVnodes int // Number of vnodes per physical node
HashFunc func() hash.Hash // Hash function to use
HashFunc func() hash.Hash `json:"-"` // Hash function to use
StabilizeMin time.Duration // Minimum stabilization time
StabilizeMax time.Duration // Maximum stabilization time
NumSuccessors int // Number of successors to maintain
Delegate Delegate // Invoked to handle ring events
Delegate Delegate `json:"-"` // Invoked to handle ring events
hashBits int // Bit size of the hash function
}

Expand Down

0 comments on commit 7004178

Please sign in to comment.