client

package
v0.0.0-...-3ae0001 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthClient

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

func NewAuthClient

func NewAuthClient(ac auth.AuthenticationClient) *AuthClient

func (*AuthClient) Decrypt

func (ac *AuthClient) Decrypt(userID uint, ciphertext []byte) ([]byte, error)

func (*AuthClient) Encrypt

func (ac *AuthClient) Encrypt(userID uint, opentext []byte) ([]byte, error)

func (*AuthClient) GetNextSynPackage

func (ac *AuthClient) GetNextSynPackage(userID uint, syn []byte) ([]byte, error)

type ConfigClient

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

func NewConfigClient

func NewConfigClient(cc config.ConfigClient) *ConfigClient

func (*ConfigClient) UpdateFacerecConfig

func (cc *ConfigClient) UpdateFacerecConfig(facerecConfig model.FacerecConfig) error

Jump to

Keyboard shortcuts

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