controller

package
v0.0.0-...-e4f960d Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RedactRequest

func RedactRequest(in any) any

RedactRequest preps rpc requests for logging

func RedactResponse

func RedactResponse(in any) any

RedactResponse preps rpc Responses for logging

Types

type Controller

type Controller struct {
	discordV1.UnsafeDiscordServiceServer
	// contains filtered or unexported fields
}

Controller represents struct that implements ProfileServiceServer.

func New

func New(svc service.Service, client eventbus.Client) Controller

func (Controller) ListenEvents

func (c Controller) ListenEvents(ctx context.Context)

func (Controller) Register

func (c Controller) Register(reg grpc.ServiceRegistrar)

Jump to

Keyboard shortcuts

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