...

Package serviceconfig

import "google.golang.org/grpc/serviceconfig"
Overview
Index

Overview ▾

Package serviceconfig defines types and methods for operating on gRPC service configs.

Experimental

Notice: This package is EXPERIMENTAL and may be changed or removed in a later release.

type Config

Config represents an opaque data structure holding a service config.

type Config interface {
    // contains filtered or unexported methods
}

type LoadBalancingConfig

LoadBalancingConfig represents an opaque data structure holding a load balancing config.

type LoadBalancingConfig interface {
    // contains filtered or unexported methods
}

type ParseResult

ParseResult contains a service config or an error. Exactly one must be non-nil.

type ParseResult struct {
    Config Config
    Err    error
}