controller

package
v0.0.0-...-b70bbfa Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller имплементирует методы для работы с сервисом авторизации.

func New

func New(authConn pb.AuthServiceClient, cipher string, tracer trace.Tracer) *Controller

New создает новый Controller.

func (*Controller) Login

func (ctrl *Controller) Login(ctx context.Context, params model.LoginReq) (model.LoginResp, error)

Login выполняет вход пользователя через API.

Jump to

Keyboard shortcuts

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