userproxy

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package userproxy is a package that provides a user proxy for the app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User interface {
	Current() (*UserInstance, error)
}

User is an interface for user.

func New

func New() User

New is a constructor for UserProxy.

type UserInstance

type UserInstance struct {
	FieldUser *user.User
}

UserInstance is a struct that implements UserInstanceInterface.

type UserInstanceInterface

type UserInstanceInterface interface{}

UserInstanceInterface is a interface for user.User.

type UserProxy

type UserProxy struct{}

UserProxy is a struct that implements User.

func (*UserProxy) Current

func (*UserProxy) Current() (*UserInstance, error)

Current is a proxy for user.Current.

Jump to

Keyboard shortcuts

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