gateway

package
v0.0.0-...-54d1621 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ERR_EMPTY_EMAIL    = fmt.Errorf("Email must not be empty")
	ERR_EMPTY_PASSWORD = fmt.Errorf("Password must not be empty")
	ERR_EMPTY_PATH     = fmt.Errorf("Path must not be empty")
	ERR_EMPTY_TOKEN    = fmt.Errorf("Token must not be empty")
)

Functions

This section is empty.

Types

type Service

type Service interface {
	Signin(ctx context.Context, email string, password string) (string, error)
	Signup(ctx context.Context, email string, password string) (string, error)
	Factor(ctx context.Context, path string, token string) (string, error)
}

func New

func New(auth auth.AuthClient, account account.AccountClient, logger *zap.Logger, tracer opentracing.Tracer) Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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