http

package
v0.0.0-...-d8d9a74 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(cfg *Config, log *zap.Logger) *client

Types

type Config

type Config struct {
	Address string `koanf:"address"`
	Port    int    `koanf:"port"`
}

type Server

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

func NewServer

func NewServer(cfg *Config, log *zap.Logger, tracer trace.Tracer) *Server

func (*Server) Serve

func (server *Server) Serve() error

Jump to

Keyboard shortcuts

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