mongodb

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

*

  • @Author: yzy
  • @Description:
  • @Version: 1.0.0
  • @Date: 2021/9/17 16:46
  • @Copyright: MIN-Group;国家重大科技基础设施——未来网络北大实验室;深圳市信息论与未来网络重点实验室

Index

Constants

View Source
const (
	ACCOUNT_TABLE = "account"
)

Variables

View Source
var DefaultDBPool mgop.SessionPool

Functions

func CreateAccount

func CreateAccount(name string, password string) (string, error)

func GetAccountAddr

func GetAccountAddr(name string) (string, error)

Types

type Account

type Account struct {
	Name     string
	Password string
	Adderss  string
}

func GetAccount

func GetAccount(name string) *Account

Jump to

Keyboard shortcuts

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