api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiServer

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

func NewAPIServer

func NewAPIServer(
	ctx context.Context,
	writerDB *sql.DB,
	log *zap.Logger,
	port int,
	registrant *registrant.Registrant,
	enableReflection bool,
	messagePublisher blockchain.IBlockchainPublisher,
) (*ApiServer, error)

func (*ApiServer) Addr

func (s *ApiServer) Addr() net.Addr

func (*ApiServer) Close

func (s *ApiServer) Close()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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