database

package
v0.0.0-...-41ce75c Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceImpl

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

func New

func New() *ServiceImpl

func (*ServiceImpl) Close

func (s *ServiceImpl) Close() error

func (*ServiceImpl) DB

func (s *ServiceImpl) DB(ctx context.Context) *gorm.DB

func (*ServiceImpl) Init

func (s *ServiceImpl) Init(ctx context.Context) error

func (*ServiceImpl) Sis

func (s *ServiceImpl) Sis() services.Sis

func (*ServiceImpl) WithDsn

func (s *ServiceImpl) WithDsn(dsn string) *ServiceImpl

func (*ServiceImpl) WithSis

func (s *ServiceImpl) WithSis(c services.Sis) services.Database

Jump to

Keyboard shortcuts

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