Documentation ¶
Index ¶
- type Panel
- func (panel *Panel) Execute(w http.ResponseWriter, r *http.Request, session *html.Session, ...) error
- func (panel *Panel) GetActiveTemplate(*html.Session, string) string
- func (panel *Panel) GetCaption() string
- func (panel *Panel) GetContentBody() string
- func (panel *Panel) GetContentJavaScript() string
- func (panel *Panel) GetContentStyleSheet() string
- func (panel *Panel) GetTitle() string
- func (panel *Panel) PreExecute(*html.Session, string, http.ResponseWriter, *http.Request) (html.ExecutionResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Panel ¶
type Panel struct { html.PanelProvider html.ContentProvider // contains filtered or unexported fields }
Panel represents the web interface panel of the accounts service administration.
func (*Panel) Execute ¶
func (panel *Panel) Execute(w http.ResponseWriter, r *http.Request, session *html.Session, accounts *data.Accounts) error
Execute generates the HTTP output of the htmlPanel and writes it to the response writer.
func (*Panel) GetActiveTemplate ¶
GetActiveTemplate returns the name of the active template.
func (*Panel) GetCaption ¶
GetCaption returns the caption which is displayed on the htmlPanel.
func (*Panel) GetContentBody ¶
GetContentBody delivers the actual body content.
func (*Panel) GetContentJavaScript ¶
GetContentJavaScript delivers additional JavaScript code.
func (*Panel) GetContentStyleSheet ¶
GetContentStyleSheet delivers additional stylesheet code.
func (*Panel) PreExecute ¶
func (panel *Panel) PreExecute(*html.Session, string, http.ResponseWriter, *http.Request) (html.ExecutionResult, error)
PreExecute is called before the actual template is being executed.
Click to show internal directories.
Click to hide internal directories.