Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestType ¶
type RequestType[T any] struct { // contains filtered or unexported fields }
func NewRequestType ¶
func NewRequestType[T any](data T) RequestType[T]
func (RequestType[T]) Data ¶
func (r RequestType[T]) Data() T
type ResponseType ¶
type ResponseType[T any] struct { // contains filtered or unexported fields }
func NewResponseType ¶
func NewResponseType[T any](data T) ResponseType[T]
func (ResponseType[T]) Data ¶
func (r ResponseType[T]) Data() T
Click to show internal directories.
Click to hide internal directories.