Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PivnetRCReadWriter ¶
type PivnetRCReadWriter struct {
// contains filtered or unexported fields
}
func NewPivnetRCReadWriter ¶
func NewPivnetRCReadWriter(configFilepath string) *PivnetRCReadWriter
func (*PivnetRCReadWriter) ReadFromFile ¶
func (h *PivnetRCReadWriter) ReadFromFile() ([]byte, error)
loadPivnetRC does not return an error if the file does not exist but will return an error for other reasons e.g. the file cannot be read.
func (*PivnetRCReadWriter) WriteToFile ¶
func (h *PivnetRCReadWriter) WriteToFile(contents []byte) error
type PivnetRCWriter ¶
type PivnetRCWriter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.