CloudflaredServer provides a handler interface for a client to provide methods to handle the different types of requests that can be communicated by the stream.
| 17 | // CloudflaredServer provides a handler interface for a client to provide methods to handle the different types of |
| 18 | // requests that can be communicated by the stream. |
| 19 | type CloudflaredServer struct { |
| 20 | handleRequest HandleRequestFunc |
| 21 | sessionManager pogs.SessionManager |
| 22 | configManager pogs.ConfigurationManager |
| 23 | responseTimeout time.Duration |
| 24 | } |
| 25 | |
| 26 | func NewCloudflaredServer(handleRequest HandleRequestFunc, sessionManager pogs.SessionManager, configManager pogs.ConfigurationManager, responseTimeout time.Duration) *CloudflaredServer { |
| 27 | return &CloudflaredServer{ |
nothing calls this directly
no outgoing calls
no test coverage detected