biz

package
v0.0.0-...-201036b Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgClient

func NewMsgClient(conn *grpc.ClientConn, zipkinTracer *zipkin.Tracer, logger log.Logger) pb.MsgServer

Types

type MsgClient

type MsgClient struct {
	GetUnReadEndpoint endpoint.Endpoint
}

func (MsgClient) GetUnRead

func (c MsgClient) GetUnRead(ctx context.Context, req *pb.UnReadReq) (*pb.UnReadRes, error)

type UserSvr

type UserSvr struct {
	Logger    log.Logger
	MsgClient pb.MsgServer
}

func (UserSvr) Login

func (u UserSvr) Login(ctx context.Context, req *pb.LoginReq) (*pb.LoginRes, error)

Jump to

Keyboard shortcuts

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