handle

package
v0.0.0-...-d355d07 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGRPC

func RegisterGRPC(app *iris.Application)

RegisterGRPC gRPC server.

func TextHandler

func TextHandler(ctx iris.Context)

TextHandler

func WxOAuth

func WxOAuth(ctx iris.Context)

WxOAuth 微信公众平台,网页授权

Types

type StreamServer

type StreamServer struct {
	pb.UnsafeStreamClientServer
	Ch    chan string
	Songs string
}
var S *StreamServer

func (*StreamServer) SimpleMode

func (s *StreamServer) SimpleMode(ctx context.Context, req *pb.Request) (*pb.Response, error)

实现 SimpleMode 方法

func (*StreamServer) Upload

实现 Upload 方法

Jump to

Keyboard shortcuts

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