refImpl

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuth

func NewAuth(jwksUrl string, tls *tls.Config, scope string) kitNetGrpc.AuthInterceptors

Types

type Config

type Config struct {
	Log     log.Config           `envconfig:"LOG"`
	Signer  service.SignerConfig `envconfig:"SIGNER"`
	Listen  certManager.Config   `envconfig:"LISTEN"`
	Dial    certManager.Config   `envconfig:"DIAL"`
	JwksURL string               `envconfig:"JWKS_URL"`
	kitNetGrpc.Config
}

func (Config) String

func (c Config) String() string

String return string representation of Config

type RefImpl

type RefImpl struct {
	// contains filtered or unexported fields
}

func Init

func Init(config Config) (*RefImpl, error)

func InitWithAuth

func InitWithAuth(config Config, auth kitNetGrpc.AuthInterceptors) (*RefImpl, error)

func NewRefImplFromConfig

func NewRefImplFromConfig(config Config, auth kitNetGrpc.AuthInterceptors) (*RefImpl, error)

NewRequestHandlerFromConfig creates RegisterGrpcGatewayServer with all dependencies.

func (*RefImpl) Serve

func (r *RefImpl) Serve() error

func (*RefImpl) Shutdown

func (r *RefImpl) Shutdown()

Jump to

Keyboard shortcuts

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