handler

package
v0.2.3-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBUser2PBUser

func DBUser2PBUser(dbUser *datamodel.User) (*mgmtPB.User, error)

DBUser2PBUser converts a database user instance to proto user

func NewHandler

NewHandler initiates a handler instance

func PBUser2DBUser

func PBUser2DBUser(pbUser *mgmtPB.User) (*datamodel.User, error)

PBUser2DBUser converts a proto user instance to database user

Types

This section is empty.

Jump to

Keyboard shortcuts

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