Documentation ¶
Overview ¶
Main server entry point.
Data flow through interfaces during a client request
[client code] wysteria/client | | * ---------------------------- enter middleware ---------------------------- * | V [client transport code] Interface: EndpointClient wysteria/common/middleware.go | === \\ network // | V [server transport code] Interface: ServerHandler wysteria/common/middleware.go | | * ---------------------------- exit middleware ---------------------------- * | V [middleware shim layer] Interface: EndpointServer wysteria/server/instrumentation_middleware.go | | V [main server] Interface: EndpointServer wysteria/server/server.go | | | [Nb. What order this goes to the searchbase / database (or even if it does) depends on the operation] +------/--------+----------------------------------------------------------------------------------+ | | V | [database shim layer] Interface: Database wysteria/server/instrumentation_database.go | | V | [searchbase shim layer] Interface: Searchbase wysteria/server/instrumentation_searchbase.go V | [database layer] Interface: Database wysteria/server/database/database.go | | V | [searchbase layer] Interface: Searchbase wysteria/server/searchbase/searchbase.go V | [database shim layer] Interface: Database wysteria/server/instrumentation_database.go | | V | [searchbase shim layer] Interface: Searchbase wysteria/server/instrumentation_searchbase.go | | | | +---------------+----------------------------------------------------------------------------------+ | V [middleware shim layer] Interface: EndpointServer wysteria/server/instrumentation_middleware.go | | | * ---------------------------- enter middleware ---------------------------- * | V [server transport code] Interface: ServerHandler wysteria/common/middleware.go | === \\ network // | V [client transport code] Interface: EndpointClient wysteria/common/middleware.go | | * ---------------------------- exit middleware ---------------------------- * | V [client code] wysteria/client
Source Files ¶
Click to show internal directories.
Click to hide internal directories.