chore: fix godoc comments for functions and structs (#24736)
This commit is contained in:
@@ -88,9 +88,9 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
// AppConstructor defines a function which accepts a network configuration and
|
||||
// creates an ABCI Application to provide to CometBFT.
|
||||
type (
|
||||
// AppConstructor defines a function which accepts a network configuration and
|
||||
// creates an ABCI Application to provide to CometBFT.
|
||||
AppConstructor = func(val ValidatorI) servertypes.Application
|
||||
TestFixtureFactory = func() TestFixture
|
||||
)
|
||||
|
||||
@@ -231,7 +231,7 @@ func writeFile(name, dir string, contents []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Get a free address for a test CometBFT server
|
||||
// FreeTCPAddr gets a free address for a test CometBFT server
|
||||
// protocol is either tcp, http, etc
|
||||
func FreeTCPAddr() (addr, port string, closeFn func() error, err error) {
|
||||
l, err := net.Listen("tcp", "127.0.0.1:0")
|
||||
|
||||
Reference in New Issue
Block a user