decorator

package
v0.0.0-...-e90a610 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type IUser

type IUser interface {
	Login(username, password string) error
}

type User

type User struct{}

func (*User) Login

func (u *User) Login(username, password string) error

type VIPUser

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

func (*VIPUser) Login

func (v *VIPUser) Login(username, password string) error

Jump to

Keyboard shortcuts

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