server

package
v0.0.0-...-dd1a141 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor interface {
}

type Server

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

Server estructura que gestiona los servidores HTTP y gRPC

func NewServer

func NewServer(console *zap.Logger) *Server

NewServer crea una nueva instancia del servidor HTTP y gRPC

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(addr string, quit <-chan struct{})

ListenAndServe Escuchar y servir tanto HTTP como gRPC

Jump to

Keyboard shortcuts

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