roles

package
v0.0.0-...-03563a3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package roles reads the role catalog. Transport adapters require authentication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	Page, Size int
	Search     string
	OrderBy    []store.OrderByField
}

type Service

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

func New

func New(repository store.Transactor) (*Service, error)

func (*Service) Get

func (s *Service) Get(ctx context.Context, id string) (model.Role, error)

func (*Service) List

func (s *Service) List(ctx context.Context, q Query) (store.ListResult, error)

Jump to

Keyboard shortcuts

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