Documentation ¶
Index ¶
- Constants
- func AllCXAFlags() []*args.Flags
- func AllFileDirectoryFlags() []*args.Flags
- func AllHttpFlags() []*args.Flags
- func AllLogFlags() []*args.Flags
- func AllPathFlags() []*args.Flags
- func AllStringFlags() []*args.Flags
- func Chmod(file string, raw string) error
- func GetFDModePerm(file string) (os.FileMode, error)
- func GetFDStat(file string) (stat os.FileInfo, err error)
- func IsExist(name string) bool
- func UnixStringPermission(m os.FileMode, isDir bool) string
- type BaseFunction
- type FileModeParser
- type FileSig
- type FileType
- type FuncHandler
- type Function
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func AllCXAFlags ¶
func AllFileDirectoryFlags ¶
func AllHttpFlags ¶
func AllLogFlags ¶
func AllPathFlags ¶
func AllStringFlags ¶
func GetFDModePerm ¶
provide for test file only
Types ¶
type BaseFunction ¶
type BaseFunction struct {
// contains filtered or unexported fields
}
func NewBaseFunction ¶
func NewBaseFunction(flags *args.Flags, fh FuncHandler, alias ...string) *BaseFunction
func (*BaseFunction) Alias ¶
func (bf *BaseFunction) Alias() []string
func (*BaseFunction) Apply ¶
func (bf *BaseFunction) Apply(args []*args.FunctionArg) (interface{}, error)
func (*BaseFunction) Flags ¶
func (bf *BaseFunction) Flags() *args.Flags
func (*BaseFunction) Name ¶
func (bf *BaseFunction) Name() string
type FileModeParser ¶
type FileModeParser struct {
// contains filtered or unexported fields
}
type FuncHandler ¶
Click to show internal directories.
Click to hide internal directories.