server

package
v0.0.0-...-a04e50b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleResponse

func HandleResponse(response connect.AnyResponse, err error) (connect.AnyResponse, error)

func NewAuthInterceptor

func NewAuthInterceptor(token string) connect.UnaryInterceptorFunc

func NewMyPingServiceHandler

func NewMyPingServiceHandler() (string, http.Handler)

Create an HTTP server handler using NewPingServiceHandler function

Types

type MyPingServiceHandler

type MyPingServiceHandler struct {
}

MyPingServiceHandler is your implementation of the PingServiceHandler interface

func (*MyPingServiceHandler) GetServerInfo

Implement the GetServerInfo method

func (*MyPingServiceHandler) Ping

Implement the Ping method

Jump to

Keyboard shortcuts

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