handler

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: 10 Imported by: 0

README

HTTP Handler

This directory contains handlers that process incoming HTTP requests.

Directory Guidelines

  • Organize handlers by creating subdirectories for each domain feature (e.g., user/, product/).
  • If a domain is not complex, place the handler .go files directly here.
Example Structure
handler
├── sub-directory               # when hit a complexity
│   └── handler_<group_name>_<some_action>.go
└── handler_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 HandlerAuth

type HandlerAuth struct {
	interceptor.ExampleInterceptor
}

func (HandlerAuth) Login

func (h HandlerAuth) Login(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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