Versions in this module Expand all Collapse all v0 v0.2.0 Jan 6, 2016 Changes in this version + func Register(server *rpc.Server, thing interface{}) (name string, err error) + type App struct + Broker *muxBroker + Client *rpc.Client + Name string + func (c *App) Build(ctx *app.Context) error + func (c *App) Close() error + func (c *App) Compile(ctx *app.Context) (*app.CompileResult, error) + func (c *App) Deploy(ctx *app.Context) error + func (c *App) Dev(ctx *app.Context) error + func (c *App) DevDep(dst, src *app.Context) (*app.DevDep, error) + func (c *App) Implicit(ctx *app.Context) (*appfile.File, error) + func (c *App) Meta() (*app.Meta, error) + type AppCompileResponse struct + Error *BasicError + Result *app.CompileResult + type AppContextArgs struct + Context *app.Context + type AppDevDepArgs struct + ContextDst *app.Context + ContextDstShared ContextSharedArgs + ContextSrc *app.Context + ContextSrcShared ContextSharedArgs + type AppDevDepResponse struct + Error *BasicError + Result *app.DevDep + type AppFunc func() app.App + type AppImplicitResponse struct + Error *BasicError + Result *appfile.File + type AppMetaResponse struct + Error *BasicError + Result *app.Meta + type AppServer struct + App app.App + Broker *muxBroker + func (s *AppServer) Build(args *AppContextArgs, reply *AppSimpleResponse) error + func (s *AppServer) Compile(args *AppContextArgs, reply *AppCompileResponse) error + func (s *AppServer) Deploy(args *AppContextArgs, reply *AppSimpleResponse) error + func (s *AppServer) Dev(args *AppContextArgs, reply *AppSimpleResponse) error + func (s *AppServer) DevDep(args *AppDevDepArgs, reply *AppDevDepResponse) error + func (s *AppServer) Implicit(args *AppContextArgs, reply *AppImplicitResponse) error + func (s *AppServer) Meta(args *struct{}, reply *AppMetaResponse) error + type AppSimpleResponse struct + Error *BasicError + type BasicError struct + Message string + func NewBasicError(err error) *BasicError + func (e *BasicError) Error() string + type Client struct + func Dial(network, address string) (*Client, error) + func NewClient(conn io.ReadWriteCloser) (*Client, error) + func (c *Client) App() (app.App, error) + func (c *Client) Close() error + func (c *Client) SyncStreams(stdout io.Writer, stderr io.Writer) error + type ContextSharedArgs struct + DirectoryId uint32 + UiId uint32 + type DirGetBlobArgs struct + Id uint32 + Key string + type DirGetBlobResponse struct + Error *BasicError + Ok bool + type DirGetBuildResponse struct + Error *BasicError + Value *directory.Build + type DirGetDeployResponse struct + Error *BasicError + Value *directory.Deploy + type DirGetDevResponse struct + Error *BasicError + Value *directory.Dev + type DirGetInfraResponse struct + Error *BasicError + Value *directory.Infra + type DirPutBlobArgs struct + Id uint32 + Key string + type DirPutBuildResponse struct + Error *BasicError + Value *directory.Build + type DirPutDeployResponse struct + Error *BasicError + Value *directory.Deploy + type DirPutDevResponse struct + Error *BasicError + Value *directory.Dev + type DirPutInfraResponse struct + Error *BasicError + Value *directory.Infra + type Directory struct + Broker *muxBroker + Client *rpc.Client + Name string + func (d *Directory) DeleteDev(v *directory.Dev) error + func (d *Directory) GetBlob(key string) (*directory.BlobData, error) + func (d *Directory) GetBuild(v *directory.Build) (*directory.Build, error) + func (d *Directory) GetDeploy(v *directory.Deploy) (*directory.Deploy, error) + func (d *Directory) GetDev(v *directory.Dev) (*directory.Dev, error) + func (d *Directory) GetInfra(v *directory.Infra) (*directory.Infra, error) + func (d *Directory) PutBlob(key string, data *directory.BlobData) error + func (d *Directory) PutBuild(v *directory.Build) error + func (d *Directory) PutDeploy(v *directory.Deploy) error + func (d *Directory) PutDev(v *directory.Dev) error + func (d *Directory) PutInfra(v *directory.Infra) error + type DirectoryServer struct + Broker *muxBroker + Directory directory.Backend + func (s *DirectoryServer) DeleteDev(args *directory.Dev, reply *ErrorResponse) error + func (s *DirectoryServer) GetBlob(args *DirGetBlobArgs, reply *DirGetBlobResponse) error + func (s *DirectoryServer) GetBuild(args *directory.Build, reply *DirGetBuildResponse) error + func (s *DirectoryServer) GetDeploy(args *directory.Deploy, reply *DirGetDeployResponse) error + func (s *DirectoryServer) GetDev(args *directory.Dev, reply *DirGetDevResponse) error + func (s *DirectoryServer) GetInfra(args *directory.Infra, reply *DirGetInfraResponse) error + func (s *DirectoryServer) PutBlob(args *DirPutBlobArgs, reply *ErrorResponse) error + func (s *DirectoryServer) PutBuild(args *directory.Build, reply *DirPutBuildResponse) error + func (s *DirectoryServer) PutDeploy(args *directory.Deploy, reply *DirPutDeployResponse) error + func (s *DirectoryServer) PutDev(args *directory.Dev, reply *DirPutDevResponse) error + func (s *DirectoryServer) PutInfra(args *directory.Infra, reply *DirPutInfraResponse) error + type ErrorResponse struct + Error *BasicError + type Server struct + AppFunc AppFunc + Stderr io.Reader + Stdout io.Reader + func (s *Server) Accept(lis net.Listener) + func (s *Server) ServeConn(conn io.ReadWriteCloser) + type Ui struct + Client *rpc.Client + Name string + func (i *Ui) Header(msg string) + func (i *Ui) Input(opts *ui.InputOpts) (string, error) + func (i *Ui) Message(msg string) + func (i *Ui) Raw(msg string) + type UiInputResponse struct + Error *BasicError + Value string + type UiServer struct + Ui ui.Ui + func (s *UiServer) Header(msg string, reply *interface{}) error + func (s *UiServer) Input(opts *ui.InputOpts, reply *UiInputResponse) error + func (s *UiServer) Message(msg string, reply *interface{}) error + func (s *UiServer) Raw(msg string, reply *interface{}) error