handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package handler provdes a test handler.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoHandler

type EchoHandler struct {
}

EchoHandler is a test handler.

func (*EchoHandler) AuthorizedCall

func (c *EchoHandler) AuthorizedCall(ctx context.Context, _ *proto.CallRequest) (*proto.CallResponse, error)

AuthorizedCall requires Authorization by metadata.

func (*EchoHandler) Call

Call implements the call method.

Jump to

Keyboard shortcuts

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