Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
微服务服务端 struct handler 必须实现 protobuf 中定义的 rpc 方法 实现方法的传参等可参考生成的 consignment.pb.go
func GetHandler ¶
func GetHandler(session *mgo.Session, vesselClient vesselPb.VesselServiceClient, userClient userPb.UserServiceClient, bk broker.Broker) *Handler
func (*Handler) CreateConsignment ¶
func (*Handler) GetConsignments ¶
Click to show internal directories.
Click to hide internal directories.