server

package
v1.20.0-dexcom-api.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: BSD-3-Clause Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address            string
	TLS                bool
	TLSCertificateFile string
	TLSKeyFile         string
	Timeout            time.Duration
}

func NewConfig added in v1.20.0

func NewConfig() *Config

func (*Config) Load added in v1.20.0

func (c *Config) Load(configReporter config.Reporter) error

func (*Config) Validate

func (c *Config) Validate() error

type Standard

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

func NewStandard

func NewStandard(cfg *Config, lgr log.Logger, api service.API) (*Standard, error)

func (*Standard) Serve

func (s *Standard) Serve() error

Jump to

Keyboard shortcuts

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