Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpHandlerFunc ¶
type HttpHandlerFunc func(IServerDispatcher) error
type IHttpHandler ¶
type IHttpHandler interface { Method() string Path() string HandlerFunc() HttpHandlerFunc }
type IHttpHandlerFactory ¶
type IHttpHandlerFactory interface {
Handlers() []IHttpHandler
}
type IServerDispatcher ¶
type IServerDispatcher interface { Logger() ILogger Serializer() IBinarySerializer Serialize(Pointer) ([]byte, error) Deserialize([]byte, Pointer) error OnActorBinaryData(IActor, []byte) IOperationResult Request() *http.Request Response() http.ResponseWriter Redirect(string) Query(string) string Param(string) string RemoteAddr() string UserAgent() string }
Click to show internal directories.
Click to hide internal directories.