rpc_handler

package
v1.26.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func NewFactory

func NewFactory(
	cfg config.Config,
	accountQuerier *account_querier.Querier,
	accountWriter *account_writer.Writer,
	roleQuerier *role_querier.Querier,
	roleWriter *role_writer.Writer,
	roleAssigner *account_role_assign.Manager,
	accessKeys *access_key.Repository,
	pluginReader *plugin_reader.Reader,
) *Factory

func (*Factory) New

func (f *Factory) New(
	logger *slog.Logger,
	installationID plugin.InstallationID,
	manifest *plugin.Validated,
) *Handler

type Handler

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

func New

func New(
	logger *slog.Logger,
	installationID plugin.InstallationID,
	manifest *plugin.Validated,
	apiBaseURL url.URL,
	accountQuerier *account_querier.Querier,
	accountWriter *account_writer.Writer,
	roleQuerier *role_querier.Querier,
	roleWriter *role_writer.Writer,
	roleAssigner *account_role_assign.Manager,
	accessKeys *access_key.Repository,
	pluginReader *plugin_reader.Reader,
) *Handler

func (*Handler) Handle

func (*Handler) OnDisconnect

func (h *Handler) OnDisconnect()

Jump to

Keyboard shortcuts

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