ownerCtl

package
v0.0.0-...-9fc71da Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(gRPC *grpc.Server, octl OwnerCtl, lg *slog.Logger)

Types

type OwnerCtl

type OwnerCtl interface {
	CreateOwner(ctx context.Context, owner models.Owner) error
	UpdateOwner(ctx context.Context, owner models.Owner) error
	DeleteOwner(ctx context.Context, owner models.Owner) error
	GetOwner(ctx context.Context, owner models.Owner) (models.Owner, error)

	LoginOwner(ctx context.Context, owner models.Owner, appId int) (token string, err error)
}

Jump to

Keyboard shortcuts

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