interceptor

package
v1.0.1 Latest Latest
Warning

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

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

README

HTTP Interceptor

This directory contains HTTP interceptors that handle response post-processing.

Directory Guidelines

  • You may create subdirectories for domain-specific interceptors (e.g., auth/, logging/).
  • If there are only a few interceptors, place the .go files directly in this directory.
Example Structure
interceptor
├── sub-directory                   # when hit a complexity
│   └── interceptor_<group_name>_<some_action>.go
└── interceptor_some_action.go      # when simple implementation

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleInterceptor

type ExampleInterceptor struct{}

func (ExampleInterceptor) Handler

Jump to

Keyboard shortcuts

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