cqrs_api

package
v0.0.0-...-8640b18 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(
	link_command link_cqrs.LinkCommandServiceClient,
	link_query link_cqrs.LinkQueryServiceClient,
) chi.Router

Routes creates a REST router

Types

type Handler

type Handler struct {
	LinkCommandServiceClient link_cqrs.LinkCommandServiceClient
	LinkQueryServiceClient   link_cqrs.LinkQueryServiceClient
}

func (*Handler) GetByAllCQRS

func (h *Handler) GetByAllCQRS(w http.ResponseWriter, r *http.Request)

GetByAllCQRS ...

func (*Handler) GetByCQRS

func (h *Handler) GetByCQRS(w http.ResponseWriter, r *http.Request)

GetByCQRS ...

Jump to

Keyboard shortcuts

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