posthandler

package
v0.0.0-...-783ed30 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(c HandlerConfig) *Handler

func (*Handler) Attach

func (h *Handler) Attach(rtr *mux.Router, opt ...interface{})

func (*Handler) Create

func (h *Handler) Create(ctx context.Context, req *post.CreateI) (*post.CreateO, error)

func (*Handler) Delete

func (h *Handler) Delete(ctx context.Context, req *post.DeleteI) (*post.DeleteO, error)

func (*Handler) Search

func (h *Handler) Search(ctx context.Context, req *post.SearchI) (*post.SearchO, error)

func (*Handler) Update

func (h *Handler) Update(ctx context.Context, req *post.UpdateI) (*post.UpdateO, error)

type HandlerConfig

type HandlerConfig struct {
	Log logger.Interface
	Rec reconciler.Interface
	Sto storage.Interface
}

Jump to

Keyboard shortcuts

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