transport

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package transport maps domain concepts to transport-layer semantics. Both the HTTP server and HTTP client import from here.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MethodForAction

func MethodForAction(action model.Action) string

MethodForAction maps a domain action to an HTTP method.

func StatusForAction

func StatusForAction(action model.Action) int

StatusForAction maps a domain action to a default HTTP success status code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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