refImpl

package
v0.0.0-...-ff501f1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Log                 log.Config
	Addr                string        `envconfig:"ADDR" default:"0.0.0.0:10443"`
	FQDN                string        `envconfig:"FQDN" default:"acme.ca.ocf.cloud"`
	Domains             []string      `envconfig:"DOMAINS"`
	SignerCertificate   string        `envconfig:"SIGNER_CERTIFICATE" required:"True"`
	SignerPrivateKey    string        `envconfig:"SIGNER_PRIVATE_KEY" required:"True"`
	SignerValidDuration time.Duration `envconfig:"SIGNER_VALID_DURATION" default:"87600h"`
}

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 NewRefImplFromConfig

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

NewRefImplFromConfig 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