dao

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

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

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

Documentation

Overview

Package dbclient, Define the method of database operation, ORM, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBClient

type DBClient struct {
	*dbengine.DBEngine
}

func (*DBClient) GetHostByClusterAndIP

func (client *DBClient) GetHostByClusterAndIP(clusterName, privateAddr string) (*model.Host, error)

GetHostByClusterAndIP get host info according cluster & privateAddr

Jump to

Keyboard shortcuts

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