Explorar el Código

exported struct comment

Abhishek Kondur hace 2 años
padre
commit
a541fe7948
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      models/structs.go

+ 1 - 0
models/structs.go

@@ -172,6 +172,7 @@ type RelayRequest struct {
 	RelayAddrs []string `json:"relayaddrs" bson:"relayaddrs"`
 }
 
+// HostRelayRequest - struct for host relay creation
 type HostRelayRequest struct {
 	HostID       string   `json:"host_id" bson:"host_id"`
 	RelayedHosts []string `json:"relayed_hosts" bson:"relayed_hosts"`