Methods | ray-go | Spatie       

 SPATIE  

ray-go
======

spatie.be/open-source

  [Docs](https://spatie.be/docs)  [Ray-go](https://spatie.be/docs/ray-go/v1)  Methods

 Version   v1      

 Other versions for crawler [v1](https://spatie.be/docs/ray-go/v1) 

  Methods    
- [ Introduction ](https://spatie.be/docs/ray-go/v1/introduction)
- [ Installation and setup ](https://spatie.be/docs/ray-go/v1/installation-and-setup)
- [ Using Ray with Go ](https://spatie.be/docs/ray-go/v1/usage)
- [ Configuration ](https://spatie.be/docs/ray-go/v1/configuration)
- [ Methods ](https://spatie.be/docs/ray-go/v1/reference)
- [ Detecting and removing Ray calls ](https://spatie.be/docs/ray-go/v1/detecting-removing-ray-calls)
- [ Testing ](https://spatie.be/docs/ray-go/v1/testing)
- [ Releasing ](https://spatie.be/docs/ray-go/v1/releasing)
- [ Changelog ](https://spatie.be/docs/ray-go/v1/changelog)
- [ Support us ](https://spatie.be/docs/ray-go/v1/support-us)

 Methods
=======

See the [Go API reference](https://pkg.go.dev/github.com/spatie/ray-go) for signatures and the [usage guide](usage) for examples. Fluent entry methods return the same `*Entry`. Check `Err()` at the end.

PurposeAPINew entry`client.Entry(ctx)`, `client.Send(ctx, values...)`, `ray.Send(ctx, values...)`Values`Send`, `Raw`, `Debug`, `TypeName`, `ToJSON`, `JSON`, `Date`Content`Text`, `HTML`, `XML`, `File`, `Image`, `Link`, `Table`, `SendCustom`, `SendRequest`Message updates`Label`, `Color`, `Size`, `Expand`, `ExpandAll`, `Hide`, `Remove`, `UUID`Colors`Green`, `Orange`, `Yellow`, `Red`, `Purple`, `Blue`, `Gray`, `Grey`Sizes`Small`, `Large`Screens`NewScreen`, `ClearScreen`, `ClearAll`, `ScreenColor`, `ScreenGreen`, `ScreenOrange`, `ScreenRed`, `ScreenPurple`, `ScreenBlue`, `ScreenGray`Execution`Pause`, `Exception`, `Caller`, `Trace`, `Measure`, `MeasureFunc`Conditional output`When`, `ShowIf`, `RemoveWhen`, `Limit`, `Once`Counters`entry.Count`, `client.CounterValue`, `client.ClearCounters`App control`ShowApp`, `HideApp`, `Notify`, `Confetti`, `client.Windows`, `client.Theme`Session settings`client.Project`, `client.Enable`, `client.Disable`, `client.Enabled`Rate limits`client.Max`, `client.PerSecond`, `client.ClearRateLimits`Timers`entry.Measure`, `entry.MeasureFunc`, `client.StopTime`Typed return value`ray.Pass(ctx, client, value)`Go uses `When` for PHP's reserved word `if`, `Link` for `link` and `url`, and `Trace` for `trace` and `backtrace`. `TypeName` replaces `className`. `Date` and automatic `time.Time` rendering replace Carbon. Deprecated spelling aliases are omitted except `Grey`, which matches the color helpers.

Private member access, PHP INI inspection, dynamic macros, shutdown exception queues and process termination are not reproduced. See [PHP compatibility](https://github.com/spatie/ray-go/blob/main/PARITY.md) for the full scope and differences.

 A good
match?
-------------

### What we do best

- All things Laravel
- Custom frontend components
- Building APIs
- AI-powered features
- Simplifying things
- Clean solutions
- Integrating services

### Not our cup of tea

- WordPress themes
- Cutting corners
- Free mockups to win a job
- "Just execute the briefing"

 In short: we'd like to be a **substantial part** of your project.

 [ Get in touch via email ](mailto:info@spatie.be?subject=A%20good%20match%21&body=Tell%20us%20as%20much%20as%20you%20can%20about%0A-%20your%20online%20project%0A-%20your%20planning%0A-%20your%20budget%0A-%20%E2%80%A6%0A%0AAnything%20that%20helps%20us%20to%20start%20straightforward%21)
