Documentation ¶
Overview ¶
Package build builds a xinhari runtime package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { // Build builds a package Build(*Source) (*Package, error) // Clean deletes the package Clean(*Package) error }
Builder builds binaries
type Package ¶
type Package struct { // Name of the binary Name string // Location of the binary Path string // Type of binary Type string // Source of the binary Source *Source }
Package is xinhari service package
type Source ¶
type Source struct { // Language is the language of code Language string // Location of the source Repository *source.Repository }
Source is the source of a build
Click to show internal directories.
Click to hide internal directories.