service

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New(s storage.Storage) *Service

func (*Service) DeleteKey

func (s *Service) DeleteKey(pub string) error

func (*Service) GetKey

func (s *Service) GetKey(pub string) (models.UserPubKey, error)

func (*Service) StoreKey

func (s *Service) StoreKey(pub models.UserPubKey) error

Jump to

Keyboard shortcuts

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