Documentation ¶
Index ¶
- func Handle[T, V protoreflect.ProtoMessage](x IServerDispatcher, entryPoint string, requestType, resultType uint64, ...) error
- func NewDispatcher(server IServer, response http.ResponseWriter, request *http.Request, ...) IServerDispatcher
- func NewHttpHandler(path, method string, handlerFunc HttpHandlerFunc) IHttpHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
func Handle[T, V protoreflect.ProtoMessage]( x IServerDispatcher, entryPoint string, requestType, resultType uint64, input T, output V, onInputUnmarshalled func(T), onRequestProcessed func(V) (string, []byte), redirect bool, ) error
func NewDispatcher ¶
func NewHttpHandler ¶
func NewHttpHandler(path, method string, handlerFunc HttpHandlerFunc) IHttpHandler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.