# Functions
DefaultHTTPPingFunc returns a ping function for HTTP requests based on the provided options.
DefaultWSPingFunc returns a ping function for WebSocket based on provided options.
NewHandlerContext creates a new DefaultHandlerContext with the provided context, inputs, and outputs.
NewHTTPPinger creates a new Ping instance configured for HTTP pinging.
NewWSPinger creates a new Ping instance configured for WebSocket pinging.
WithMessages returns a HandlerContextOpts that sets the messages in the handler context.
# Constants
No description provided by the author
Constants for different IOType values.
Constants for different IOType values.
Constants for different IOType values.
Constants for different IOType values.
Constants for different IOType values.
Constants for different IOType values.
Constants for different IOType values.
Constants for different IOType values.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
DefaultHandlerContext is the default implementation of the HandlerContext interface.
Handler represents a method handler with metadata, arguments, and the handler function itself.
HTTPOptions holds configuration options for HTTP requests.
Input represents the input data of a method.
InputPublic represents the input data of a method.
Method - describes the method of the service Contains the name, description, inputs and outputs.
MethodPublic - represents a method in the public API It can be used to print information about the method without sensitive data.
MethodResponse describes the response of a method, including output data and any errors.
Output represents the output data of a method.
OutputPublic represents the output data of a method.
Ping represents a ping operation with its related data and function.
Service - describes the service of the application Contains the name, description and methods Can be used to call methods.
ServicePublic - describes the service as public.
WSOptions holds configuration options for WebSocket.
# Interfaces
HandlerContext defines an interface for managing inputs and outputs and providing access to the underlying context.
# Type aliases
No description provided by the author
No description provided by the author
HandlerFunc defines the function signature for method handlers, which receive a HandlerContext and return an error if something goes wrong.
InputFilter - filter for inputs.
IOType represents the type of input or output in a method (e.g., text, audio, image).
No description provided by the author
PingFunc defines a function type for executing a ping operation.