Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseHandler ¶
func NewBaseHandler ¶
func NewBaseHandler(config Config, logger Logger) *BaseHandler
func (*BaseHandler) Process ¶
func (this *BaseHandler) Process(r *http.Request, resources []string, f ProcessFunc) (string, error)
type Logger ¶
type Logger interface { Fatal(format string, args ...interface{}) error Error(format string, args ...interface{}) error Warn(format string, args ...interface{}) error Info(format string, args ...interface{}) error Debug(format string, args ...interface{}) error Trace(format string, args ...interface{}) error }
type ProcessFunc ¶
Click to show internal directories.
Click to hide internal directories.