chatsessions

package
v0.0.0-...-9669c6d Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

func Attach(mux goahttp.Muxer, service *Service)

Types

type Service

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

func NewService

func NewService(logger *slog.Logger, tracerProvider trace.TracerProvider, db *pgxpool.Pool, sessions *sessions.Manager, chatSessionsManager *chatsessions.Manager, authzEngine *authz.Engine) *Service

func (*Service) APIKeyAuth

func (s *Service) APIKeyAuth(ctx context.Context, key string, scheme *security.APIKeyScheme) (context.Context, error)

func (*Service) Create

func (s *Service) Create(ctx context.Context, p *gen.CreatePayload) (*gen.CreateResult, error)

func (*Service) ProjectSlugAuth

func (s *Service) ProjectSlugAuth(ctx context.Context, slug string, scheme *security.APIKeyScheme) (context.Context, error)

func (*Service) Revoke

func (s *Service) Revoke(ctx context.Context, p *gen.RevokePayload) error

Jump to

Keyboard shortcuts

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