master

package
v0.0.0-...-b414419 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
}

Handler 处理消息

func (*Handler) Handle

func (h *Handler) Handle(msg *pb.Message) error

Handle 处理stream消息

func (*Handler) HandleGet

func (h *Handler) HandleGet(msg *pb.Message) (res *pb.Message, err error)

HandleGet 处理get 消息

func (*Handler) HandlePost

func (h *Handler) HandlePost(msg *pb.Message) error

HandlePost 处理post 消息

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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