macaroon

package
v0.3.15 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 10 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 {
	Unlock(ctx context.Context, password string) error
	ChangePassword(ctx context.Context, oldPassword, newPassword string) error
	Generate(ctx context.Context) error
	Auth(ctx context.Context, grpcFullMethodName string) error
	Reset(ctx context.Context) error
}

func NewService

func NewService(
	datadir, macaroonsFolder string, macFiles, whitelistedMethods, allMethods map[string][]bakery.Op,
) (Service, error)

Jump to

Keyboard shortcuts

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