Documentation ¶
Overview ¶
Please, do not change functions names!
It is better for you if you do not change functions names! This file will never be overwritten.
DO NOT EDIT.
Index ¶
- func CommentToProto(comment service.Comment) (pb.Comment, error)
- func ListCommentToProto(list []service.Comment) ([]pb.Comment, error)
- func MapStringUserToProto(results map[string]service.User) (map[string]pb.User, error)
- func NewGRPCClient(conn *grpc.ClientConn, addr string, opts ...grpckit.ClientOption) transport.EndpointsSet
- func NewGRPCServer(endpoints *transport.EndpointsSet, logger log.Logger, ...) pb.UserServiceServer
- func ProtoToComment(protoComment pb.Comment) (service.Comment, error)
- func ProtoToListComment(protoList []pb.Comment) ([]service.Comment, error)
- func ProtoToMapStringUser(protoResults map[string]pb.User) (map[string]service.User, error)
- func ProtoToUser(protoUser pb.User) (service.User, error)
- func TracingGRPCClientOptions(tracer opentracinggo.Tracer, logger log.Logger) func([]grpckit.ClientOption) []grpckit.ClientOption
- func UserToProto(user service.User) (pb.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapStringUserToProto ¶
func NewGRPCClient ¶
func NewGRPCClient(conn *grpc.ClientConn, addr string, opts ...grpckit.ClientOption) transport.EndpointsSet
func NewGRPCServer ¶
func NewGRPCServer(endpoints *transport.EndpointsSet, logger log.Logger, tracer opentracinggo.Tracer, opts ...grpc.ServerOption) pb.UserServiceServer
func ProtoToListComment ¶
func ProtoToMapStringUser ¶
func TracingGRPCClientOptions ¶
func TracingGRPCClientOptions(tracer opentracinggo.Tracer, logger log.Logger) func([]grpckit.ClientOption) []grpckit.ClientOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.