auth

package
v0.0.0-...-ee8fb57 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package auth provides auth service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ctx

type Ctx = context.Context

Ctx is a synonym for convenience.

type Service

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

Service implements main.embeddedService interface.

func (*Service) Init

func (s *Service) Init(sharedCfg *sharedconfig.Shared, serveCmd *cobra.Command) error

Init implements main.embeddedService interface.

func (*Service) Name

func (s *Service) Name() string

Name implements main.embeddedService interface.

func (*Service) RunServe

func (s *Service) RunServe(ctxStartup Ctx, ctxShutdown Ctx, shutdown func(), dbClient *db.Db, sessionManager *session.Manager) (err error)

RunServe implements main.embeddedService interface.

Directories

Path Synopsis
app
Package app provides business logic.
Package app provides business logic.
wa
ws
Package dal implements Data Access Layer using PostgreSQL DB.
Package dal implements Data Access Layer using PostgreSQL DB.
srv
test

Jump to

Keyboard shortcuts

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