service

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

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

func NewUserService

func NewUserService(querier query.Querier) *UserService

func (*UserService) Auth

func (userService *UserService) Auth(IdentityToken string) (bool, error)

func (*UserService) GetPubKey

func (userService *UserService) GetPubKey(IdentityToken string) ([]byte, error)

func (*UserService) Register

func (userService *UserService) Register(IdentityToken string, PublicKey []byte) error

Jump to

Keyboard shortcuts

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