Skip to content

Support gRPC Server Options #104

@docktermj

Description

@docktermj

Currently, the gRPC Server Options is a hard-coded, empty list,

observe/cmd/root.go

Lines 82 to 92 in 6e6cf92

// TODO: Support various gRPC server options.
serverOptions := []grpc.ServerOption{}
// Create and run gRPC server.
observer := &observer.SimpleObserver{
AvoidServing: viper.GetBool(avoidServe.Arg),
Port: viper.GetInt(option.ObserverGrpcPort.Arg),
ServerOptions: serverOptions,
}

Feature request

Using viper, receive command-line and environment variable values that can be used to make grpc.ServerOptions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions