post

package
v0.0.0-...-f72f217 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServer

func CreateServer(dbClient *DbClient) *grpc.Server

CreateServer creates a new grpc server

Types

type DbClient

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

DbClient manages the communication between services and database

func NewDbClient

func NewDbClient(dbURL string) *DbClient

NewDbClient creates a new DbClient instance

func (*DbClient) Close

func (c *DbClient) Close()

Close closes the existing connection to the database

Jump to

Keyboard shortcuts

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