Documentation
¶
Overview ¶
Package chain_of_responsibility is an example of the Chain Of Responsibility Pattern.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcreteHandlerA ¶
type ConcreteHandlerA struct {
// contains filtered or unexported fields
}
ConcreteHandlerA implements handler "A".
func (*ConcreteHandlerA) SendRequest ¶
func (h *ConcreteHandlerA) SendRequest(message int) (result string)
SendRequest implementation.
type ConcreteHandlerB ¶
type ConcreteHandlerB struct {
// contains filtered or unexported fields
}
ConcreteHandlerB implements handler "B".
func (*ConcreteHandlerB) SendRequest ¶
func (h *ConcreteHandlerB) SendRequest(message int) (result string)
SendRequest implementation.
type ConcreteHandlerC ¶
type ConcreteHandlerC struct {
// contains filtered or unexported fields
}
ConcreteHandlerC implements handler "C".
func (*ConcreteHandlerC) SendRequest ¶
func (h *ConcreteHandlerC) SendRequest(message int) (result string)
SendRequest implementation.
Click to show internal directories.
Click to hide internal directories.