Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlantUMLClient ¶
type PlantUMLClient interface { CompressDiagram([]byte) (string, error) Render(PlantUMLRender, []byte) (string, []byte, error) RenderFile(PlantUMLRender, string) (string, []byte, error) BytesToSVG([]byte) (string, []byte, error) StringToSVG(string) (string, []byte, error) FileToSVG(string) (string, []byte, error) BytesToPNG([]byte) (string, []byte, error) StringToPNG(string) (string, []byte, error) FileToPNG(string) (string, []byte, error) BytesToASCII([]byte) (string, []byte, error) StringToASCII(string) (string, []byte, error) FileToASCII(string) (string, []byte, error) }
func NewPlantUMLClient ¶
func NewPlantUMLClient(u string) (PlantUMLClient, error)
type PlantUMLRender ¶
type PlantUMLRender string
const ( SVG PlantUMLRender = "svg" PNG PlantUMLRender = "png" ASCII PlantUMLRender = "ascii" )
Click to show internal directories.
Click to hide internal directories.