github.com/Cloud-Foundations/Dominator@v0.3.4/sub/rpcd/html.go (about)

     1  package rpcd
     2  
     3  import (
     4  	"fmt"
     5  	"io"
     6  )
     7  
     8  func (hw *HtmlWriter) writeHtml(writer io.Writer) {
     9  	fmt.Fprintf(writer, "Image of last successful update: \"%s\"<br>\n",
    10  		*hw.lastSuccessfulImageName)
    11  	if *hw.lastNote != "" {
    12  		fmt.Fprintf(writer, "Note at last successful update: \"%s\"<br>\n",
    13  			*hw.lastNote)
    14  	}
    15  }