Documentation ¶
Index ¶
- Constants
- Variables
- func DialWithAutostart(ctx context.Context, sockPath string, urlPath string) (*daemon.Client, error)
- func Start(ctx context.Context, args *StartArgs) error
- type Daemon
- func (d *Daemon) GetCompilerIncludePath(in *daemon.GetCompilerIncludePathArgs, out *daemon.GetCompilerIncludePathReply) error
- func (d *Daemon) GetDaemonStats(in *daemon.StatsArgs, out *daemon.StatsReply) error
- func (d *Daemon) InvokeWithFiles(in *daemon.InvokeWithFilesArgs, out *daemon.InvokeWithFilesReply) error
- func (d *Daemon) Ping(in daemon.PingArgs, reply *daemon.PingReply) error
- func (d *Daemon) Shutdown(in daemon.ShutdownArgs, out *daemon.ShutdownReply) error
- func (d *Daemon) TraceSpans(in *daemon.TraceSpansArgs, out *daemon.TraceSpansReply) error
- type StartArgs
Constants ¶
View Source
const (
LlamaCCPath = "/llamacc"
)
Variables ¶
View Source
var ErrAlreadyRunning = errors.New("daemon already running")
Functions ¶
func DialWithAutostart ¶
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
func (*Daemon) GetCompilerIncludePath ¶
func (d *Daemon) GetCompilerIncludePath(in *daemon.GetCompilerIncludePathArgs, out *daemon.GetCompilerIncludePathReply) error
func (*Daemon) GetDaemonStats ¶
func (*Daemon) InvokeWithFiles ¶
func (d *Daemon) InvokeWithFiles(in *daemon.InvokeWithFilesArgs, out *daemon.InvokeWithFilesReply) error
func (*Daemon) Shutdown ¶
func (d *Daemon) Shutdown(in daemon.ShutdownArgs, out *daemon.ShutdownReply) error
func (*Daemon) TraceSpans ¶
func (d *Daemon) TraceSpans(in *daemon.TraceSpansArgs, out *daemon.TraceSpansReply) error
Click to show internal directories.
Click to hide internal directories.