grpc: google.golang.org/grpc/internal/grpcutil Index | Files

package grpcutil

import "google.golang.org/grpc/internal/grpcutil"

Package grpcutil provides a bunch of utility functions to be used across the gRPC codebase.

Index

Package Files

target.go

func ParseTarget Uses

func ParseTarget(target string) (ret resolver.Target)

ParseTarget splits target into a resolver.Target struct containing scheme, authority and endpoint.

If target is not a valid scheme://authority/endpoint, it returns {Endpoint: target}.

Package grpcutil imports 2 packages (graph) and is imported by 2 packages. Updated 2020-02-12. Refresh now. Tools for package owners.