Documentation ¶
Index ¶
- Constants
- func OnInitialize(y ...func())
- type MambaFunc
- type Service
- func (c *Service) ExecBytes(args ...string) (stdout []byte, err error)
- func (c *Service) ExecString(args ...string) (stdout string, err error)
- func (c *Service) Execute(ctx context.Context) error
- func (c *Service) OsExec(args ...string)
- func (m *Service) ReadDir(f string) ([]os.FileInfo, error)
- func (m *Service) ReadFile(f string) ([]byte, error)
- func (m *Service) ReadReader(reader io.Reader) ([]byte, error)
- func (m *Service) ReadStdIn() ([]byte, error)
- func (c *Service) Script(ctx context.Context, args ...string)
- func (m *Service) WriteFile(f string, d []byte) error
Constants ¶
View Source
const EnablePrefixMatching = false
View Source
const EnableServiceSorting = true
View Source
const MousetrapHelpText string = `This is a command line tool.
You need to open cmd.exe and run it from there.
`
Variables ¶
This section is empty.
Functions ¶
func OnInitialize ¶
func OnInitialize(y ...func())
Types ¶
type Service ¶
type Service struct { Version string Dependencies []string Hanldlers map[string]http.HandlerFunc Options []grpc.ServerOption PostRun MambaFunc // contains filtered or unexported fields }
func (*Service) ExecString ¶
Click to show internal directories.
Click to hide internal directories.