handler

package
v0.0.0-...-64d7a94 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChatMsg

func GetChatMsg(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func GetSession

func GetSession(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

func Init

func Init()

Types

type Website

type Website struct{}

func (*Website) Call

func (e *Website) Call(ctx context.Context, req *website.Request, rsp *website.Response) error

Call is a single request handler called via client.Call or the generated client code

func (*Website) PingPong

func (e *Website) PingPong(ctx context.Context, stream website.Website_PingPongStream) error

PingPong is a bidirectional stream handler called via client.Stream or the generated client code

func (*Website) Stream

Stream is a server side stream handler called via client.Stream or the generated client code

Jump to

Keyboard shortcuts

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