handler

package
v0.0.0-...-fea8a0b Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Types

type Auth

type Auth struct{}

func (*Auth) AuthAccessToken

func (e *Auth) AuthAccessToken(ctx context.Context, req *auth.Request, rsp *auth.Response) error

func (*Auth) DelUserAccessToken

func (s *Auth) DelUserAccessToken(ctx context.Context, req *auth.Request, rsp *auth.Response) error

func (*Auth) GetCachedAccessToken

func (s *Auth) GetCachedAccessToken(ctx context.Context, req *auth.Request, rsp *auth.Response) error

func (*Auth) MakeAccessToken

func (e *Auth) MakeAccessToken(ctx context.Context, req *auth.Request, rsp *auth.Response) error

func (*Auth) PingPong

func (e *Auth) PingPong(ctx context.Context, stream auth.Auth_PingPongStream) error

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

func (*Auth) Stream

func (e *Auth) Stream(ctx context.Context, req *auth.StreamingRequest, stream auth.Auth_StreamStream) error

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