Versions in this module Expand all Collapse all v0 v0.1.1 Oct 1, 2022 Changes in this version + func ChainUnaryServer(interceptors ...grpc.UnaryServerInterceptor) grpc.UnaryServerInterceptor + func EtcdRegister(etcdHost, serviceName, addr string, ttl int64) error + func EtcdUnRegister(serviceName, addr string) error + func LogUnaryServerInterceptor() grpc.UnaryServerInterceptor + func NewClient(tls *Tls, addr string, opts ...grpc.DialOption) (conn *grpc.ClientConn, err error) + type Server struct + func NewServer(tls *Tls, opt ...grpc.ServerOption) *Server + func (s *Server) Run(addr string) error + func (s *Server) Server() (server *grpc.Server, err error) + func (s *Server) Use(middleware ...grpc.UnaryServerInterceptor) + type Tls struct + CACrt string + Crt string + Key string