Documentation ¶
Index ¶
- type Handler
- func (h *Handler) ConfigPath() string
- func (h *Handler) Handle(parentCtx context.Context, req *handler.HandleRequest, ...) error
- func (h *Handler) ListenAddress() string
- func (h *Handler) Name() string
- func (h *Handler) PostHandle(parentCtx context.Context, req *handler.PostHandleRequest, ...) error
- func (h *Handler) PreHandle(parentCtx context.Context, req *handler.HandleRequest, ...) error
- func (h *Handler) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { handlers.HandlerLogger // contains filtered or unexported fields }
func NewHandler ¶
func NewHandler(listenAddr, configPath, executable, handlerType string, logger *slog.Logger) *Handler
NewHandler .
func (*Handler) ConfigPath ¶
ConfigPath CustomHandlerインターフェースの実装
func (*Handler) Handle ¶
func (h *Handler) Handle(parentCtx context.Context, req *handler.HandleRequest, sender handlers.ResponseSender) error
func (*Handler) ListenAddress ¶
ListenAddress CustomHandlerインターフェースの実装
func (*Handler) PostHandle ¶
func (h *Handler) PostHandle(parentCtx context.Context, req *handler.PostHandleRequest, sender handlers.ResponseSender) error
func (*Handler) PreHandle ¶
func (h *Handler) PreHandle(parentCtx context.Context, req *handler.HandleRequest, sender handlers.ResponseSender) error
Click to show internal directories.
Click to hide internal directories.