serviceconfig

package
v1.39.10-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package serviceconfig contains utility functions to parse service config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalancerConfig

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

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

UnmarshalJSON implements json unmarshaller.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL