mock

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App added in v1.12.0

func Artisan

func Artisan() *consolemock.Artisan

func Auth added in v1.7.0

func Auth() *authmock.Auth

func Cache

func Config

func Config() *configmock.Config

func Event

func Event() (*eventmock.Instance, *eventmock.Task)

func Gate added in v1.7.0

func Gate() *accessmock.Gate

func Grpc added in v1.7.0

func Grpc() *grpcmock.Grpc

func Log

func Log()

func Mail

func Mail() *mailmock.Mail

func NewTestLog added in v1.12.0

func NewTestLog() log.Writer

func Queue

func Queue() (*queuemock.Queue, *queuemock.Task)

func Storage added in v1.5.0

func Validation added in v1.8.0

Types

type TestLog added in v1.12.0

type TestLog struct {
}

func (*TestLog) Debug added in v1.12.0

func (r *TestLog) Debug(args ...any)

func (*TestLog) Debugf added in v1.12.0

func (r *TestLog) Debugf(format string, args ...any)

func (*TestLog) Error added in v1.12.0

func (r *TestLog) Error(args ...any)

func (*TestLog) Errorf added in v1.12.0

func (r *TestLog) Errorf(format string, args ...any)

func (*TestLog) Fatal added in v1.12.0

func (r *TestLog) Fatal(args ...any)

func (*TestLog) Fatalf added in v1.12.0

func (r *TestLog) Fatalf(format string, args ...any)

func (*TestLog) Info added in v1.12.0

func (r *TestLog) Info(args ...any)

func (*TestLog) Infof added in v1.12.0

func (r *TestLog) Infof(format string, args ...any)

func (*TestLog) Panic added in v1.12.0

func (r *TestLog) Panic(args ...any)

func (*TestLog) Panicf added in v1.12.0

func (r *TestLog) Panicf(format string, args ...any)

func (*TestLog) Warning added in v1.12.0

func (r *TestLog) Warning(args ...any)

func (*TestLog) Warningf added in v1.12.0

func (r *TestLog) Warningf(format string, args ...any)

Jump to

Keyboard shortcuts

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