Documentation ¶
Index ¶
- type Handler
- func (f *Handler) GetTemplatesFuncMap(conn *ttconn.Connection) (tplFunc map[string]interface{}, err error)
- func (f *Handler) ParseData(conn *ttconn.Connection, inbuf []byte) (string, interface{}, error)
- func (f *Handler) PostProcess(conn *ttconn.Connection, route string, extraData interface{}, ...) (output interface{}, err error)
- func (f *Handler) Process(conn *ttconn.Connection, route string, extraData interface{}, ...) (output interface{}, err error)
- func (f *Handler) Read(conn *ttconn.Connection) ([]byte, error)
- func (f *Handler) RegisterPrometheusMetrics() error
- func (f *Handler) ServeConn(conn *ttconn.Connection) error
- func (f *Handler) ServeCrontab(conn *ttconn.Connection, route string, routeExtraData interface{}) error
- func (f *Handler) Write(conn *ttconn.Connection, output interface{}) (n int64, err error)
- type Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
func (*Handler) GetTemplatesFuncMap ¶
func (f *Handler) GetTemplatesFuncMap(conn *ttconn.Connection) (tplFunc map[string]interface{}, err error)
func (*Handler) PostProcess ¶
func (f *Handler) PostProcess(conn *ttconn.Connection, route string, extraData interface{}, input interface{}) (output interface{}, err error)
func (*Handler) RegisterPrometheusMetrics ¶
func (*Handler) ServeCrontab ¶
func (f *Handler) ServeCrontab(conn *ttconn.Connection, route string, routeExtraData interface{}) error
Click to show internal directories.
Click to hide internal directories.