Documentation
¶
Index ¶
Constants ¶
View Source
const ( HTTPHost = "http://[::]" HTTPAddr = ":8080" HTTPBaseURL = HTTPHost + HTTPAddr // Websocket sub protocol. WSSubprotocol = "sdf3ui" ShapeEndpoint = "/" + WSSubprotocol + "/getShape" SaveSTLEndpoint = "/createSTL" WSTimeout = 60 * time.Minute WSReadLimit = 32 * kilobyte )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerStatus ¶
type Shape3D ¶
type Shape3D struct { // Triangles has render data. Triangles []r3.Triangle // Sequence number of shape. Seq uint // contains filtered or unexported fields }
Shape3D contains 3D shape information.
func (*Shape3D) SetContext ¶
type ShapeStatus ¶
type ShapeStatus string
const ( ShapeStale ShapeStatus = "shape is stale" ShapeOK ShapeStatus = "shape is up to date" )
Click to show internal directories.
Click to hide internal directories.