postgres

package
v0.0.0-...-958ef34 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.

* Copyright (c) 2023 Juice Technologies, Inc. All Rights Reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNullString

func NewNullString(s string) sql.NullString

func OpenStorage

func OpenStorage(ctx context.Context, connection string) (storage.Storage, error)

Types

type Composite

type Composite []byte

func (Composite) Scan

func (composite Composite) Scan(dest ...any) error

type PoolPermissionRow

type PoolPermissionRow struct {
	PoolId     string
	Permission restapi.Permission
	UserId     string
}

type UserPermissionRow

type UserPermissionRow struct {
	PoolId       string
	Permission   restapi.Permission
	PoolName     string
	SessionCount int
	AgentCount   int
	UserCount    int
}

Jump to

Keyboard shortcuts

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