mock

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func Artisan

func Artisan() *consolemock.Artisan

func Auth

func Auth() *authmock.Auth

func Cache

func Config

func Config() *configmock.Config

func Event

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

func Gate

func Gate() *accessmock.Gate

func Grpc

func Grpc() *grpcmock.Grpc

func Log

func Log()

func Mail

func Mail() *mailmock.Mail

func NewTestLog

func NewTestLog() log.Writer

func Queue

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

Types

type TestLog

type TestLog struct {
}

func (*TestLog) Debug

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

func (*TestLog) Debugf

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

func (*TestLog) Error

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

func (*TestLog) Errorf

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

func (*TestLog) Fatal

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

func (*TestLog) Fatalf

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

func (*TestLog) Info

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

func (*TestLog) Infof

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

func (*TestLog) Panic

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

func (*TestLog) Panicf

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

func (*TestLog) Warning

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

func (*TestLog) Warningf

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