integrationtestserver

package
v0.0.0-...-a3884e5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(
	grpcPort int,
	httpPort int,
	postgresDb *postgresstorage.PostgresDb,
	log logger.Logger,
) (*Server, error)

func (*Server) Start

func (s *Server) Start() error

Start starts Server and blocks forever

func (*Server) Stop

func (s *Server) Stop() error

Stop stops server

type StartStopServer

type StartStopServer interface {
	Start() error
	Stop() error
}

Jump to

Keyboard shortcuts

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