package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jan 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package server contains the HTTP, gRPC and CoAP server implementation.
Copyright (c) Ultraviolet
SPDX-License-Identifier: Apache-2.0
type Config struct {
Host string `env:"HOST" envDefault:""`
Port string `env:"PORT" envDefault:""`
CertFile string `env:"SERVER_CERT" envDefault:""`
KeyFile string `env:"SERVER_KEY" envDefault:""`
}
type Server interface {
Start() error
Stop() error
}
Source Files
¶
Directories
¶
Package grpc contains the gRPC server implementation.
|
Package grpc contains the gRPC server implementation. |
Package http contains the HTTP server implementation.
|
Package http contains the HTTP server implementation. |
Click to show internal directories.
Click to hide internal directories.