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

package serviceconfig

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

Package serviceconfig contains utility functions to parse service config.

Index

Package Files

serviceconfig.go

type BalancerConfig Uses

type BalancerConfig struct {
    Name   string
    Config externalserviceconfig.LoadBalancingConfig
}

BalancerConfig is the balancer config part that service config's loadBalancingConfig fields can be unmarshalled to. It's a json unmarshaller.

https://github.com/grpc/grpc-proto/blob/54713b1e8bc6ed2d4f25fb4dff527842150b91b2/grpc/service_config/service_config.proto#L247

func (*BalancerConfig) UnmarshalJSON Uses

func (bc *BalancerConfig) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json unmarshaller.

Package serviceconfig imports 5 packages (graph) and is imported by 2 packages. Updated 2020-04-19. Refresh now. Tools for package owners.