types

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 0 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL