converter

package
v0.0.0-...-d357a17 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeyConverter = &KeyConverterImpl{}

Functions

This section is empty.

Types

type KeyConverterImpl

type KeyConverterImpl struct {
}

func (*KeyConverterImpl) ToGorm

func (*KeyConverterImpl) ToGorm(key *models.Key) *dbmodel.KeyModel

func (*KeyConverterImpl) ToGormList

func (*KeyConverterImpl) ToGormList(keys []*models.Key) []*dbmodel.KeyModel

func (*KeyConverterImpl) ToGrpc

func (*KeyConverterImpl) ToGrpc(k *dbmodel.KeyModel, showPrivate bool) *models.Key

func (*KeyConverterImpl) ToGrpcList

func (*KeyConverterImpl) ToGrpcList(keys []*dbmodel.KeyModel, showPrivate bool) []*models.Key

Jump to

Keyboard shortcuts

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