Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents template rendering server
func (*Server) Render ¶
func (me *Server) Render( ctx context.Context, req *rpc.RenderingRequest, ) (resp *rpc.RenderingResponse, err error)
Render sends the rendered template.
func (*Server) SetTemplate ¶
func (me *Server) SetTemplate(tmpName string, tmp interfaces.ITemplate)
SetTemplate sets a template.
func (*Server) UnsetTemplate ¶
UnsetTemplate removes the specified template at tmpName
Click to show internal directories.
Click to hide internal directories.