Versions in this module Expand all Collapse all v1 v1.0.0 Jul 21, 2022 Changes in this version + var DefaultDialOptions = []grpc.DialOption + var DefaultServerOptions = []grpc.ServerOption + func Dial(addr string, opts ...grpc.DialOption) (*grpc.ClientConn, error) + func EnsureValidResponseCode(code int) int + func Errorf(code int, tmpl string, args ...interface{}) error + func GetGRPCErrorFromHTTPResponse(resp *httppb.HandleSimpleHTTPResponse) error + func GetHTTPHeader(hs http.Header) []*httppb.Element + func GetHTTPResponseFromError(err error) (*httppb.HandleSimpleHTTPResponse, bool) + func MergeHTTPHeader(hs []*httppb.Element, header http.Header) + func NewDefaultServer(opts []grpc.ServerOption) *grpc.Server + func NewListener() (net.Listener, error) + func Serve(listener net.Listener, grpcServerFunc func([]grpc.ServerOption) *grpc.Server) + func TimestampAsTime(ts *tspb.Timestamp) (time.Time, error) + func TimestampFromTime(time time.Time) *tspb.Timestamp + type ServerCloser struct + func (s *ServerCloser) Add(server *grpc.Server) + func (s *ServerCloser) GracefulStop() + func (s *ServerCloser) Stop() v1.0.0-alpha Nov 22, 2022