adapter

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 5 Imported by: 0

README

  • In this package, you put any functions to connect to external frameworks or connections like database, external client, etc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter struct {
	MySQLDB    *sql.DB
	HttpServer *http.Server
}

func InitAdapter

func InitAdapter(cfg *config.Config) (*Adapter, error)

InitAdapter initializes frameworks or resources adapter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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