Browse Source

add comment for public type

Matthew R. Kasun 2 years ago
parent
commit
4f303dd4c5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/host.go

+ 1 - 0
models/host.go

@@ -7,6 +7,7 @@ import (
 	"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
 	"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
 )
 )
 
 
+// Host - represents a host on the network
 type Host struct {
 type Host struct {
 	ID               uuid.UUID        `json:"id" yaml:"id"`
 	ID               uuid.UUID        `json:"id" yaml:"id"`
 	Verbosity        int              `json:"verbosity" yaml:"verbosity"`
 	Verbosity        int              `json:"verbosity" yaml:"verbosity"`