Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HtmlServer ¶
func HtmlServer(testdataHoler DataHolder) (testServer *httptest.Server, err error)
Types ¶
type DataHolder ¶
type DataHolder struct {
// contains filtered or unexported fields
}
func NewDataHolder ¶
func NewDataHolder(dir string) DataHolder
func (*DataHolder) GetHtmlAwesomeReadme ¶
func (h *DataHolder) GetHtmlAwesomeReadme() ([]byte, error)
func (*DataHolder) GetJsonRepo ¶
func (h *DataHolder) GetJsonRepo(user string, name string) ([]byte, error)
func (*DataHolder) GetOutput ¶
func (h *DataHolder) GetOutput() ([]byte, error)
func (*DataHolder) GetUser ¶
func (h *DataHolder) GetUser() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.