http

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(mux *http.ServeMux, d Deps)

Types

type Deps

type Deps struct {
	Service     *app.WebhookService
	MemberCheck MemberLookup
	Log         *slog.Logger

	Authz *authz.Authorizer
}

type MemberLookup

type MemberLookup func(ctx context.Context, workspaceID, userID string) (role string, member bool, err error)

Jump to

Keyboard shortcuts

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