Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrReadOnly is the read-only error. ErrReadOnly = fmt.Errorf("this handler is read only") )
Functions ¶
This section is empty.
Types ¶
type IniHandler ¶
type IniHandler struct {
// contains filtered or unexported fields
}
IniHandler handles the credential file.
func NewIniHandler ¶
func NewIniHandler(readOnly bool, path string) *IniHandler
NewIniHandler create a new credential handler.
func (*IniHandler) GetFilePath ¶ added in v0.2.0
func (h *IniHandler) GetFilePath() string
GetFilePath returns the path of file.
Click to show internal directories.
Click to hide internal directories.