service

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

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	User() UserService
}

func NewService

func NewService(ds store.Factory) Service

type UserService

type UserService interface {
	Create(ctx context.Context, User *v1.User) error
	Update(ctx context.Context, User *v1.User) error
	Get(ctx context.Context, username string) (*v1.User, error)
	Delete(ctx context.Context, username string) error
}

Jump to

Keyboard shortcuts

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