profile

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceKey = "profile"

Variables

This section is empty.

Functions

func NewService

func NewService(k types.IKernel) types.IKernelService

Types

type ProfileService

type ProfileService struct {
	bases.BaseKernelService
}

func (*ProfileService) GetProfile

func (c *ProfileService) GetProfile() (*bases.Profile, error)

func (*ProfileService) GetProperty

func (c *ProfileService) GetProperty(key string) (string, error)

func (*ProfileService) GetPublicProfile

func (c *ProfileService) GetPublicProfile() (*bases.ProfilePublic, error)

func (*ProfileService) GetSecret

func (c *ProfileService) GetSecret(key string) (string, error)

func (*ProfileService) GetUserDirectory

func (c *ProfileService) GetUserDirectory() (string, error)

func (*ProfileService) HasProperty

func (c *ProfileService) HasProperty(key string) (bool, error)

func (*ProfileService) HasSecret

func (c *ProfileService) HasSecret(key string) (bool, error)

func (*ProfileService) Init

func (c *ProfileService) Init() error

func (*ProfileService) SetProperty

func (c *ProfileService) SetProperty(key string, value string) error

func (*ProfileService) SetSecret

func (c *ProfileService) SetSecret(key string, value string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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