oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package runner
2
3import (
4 "context"
5
6 "amadan.net/oficina/equipo/internal/runnerproto"
7)
8
9type clockFuncR3 func() (ClockReading, error)
10
11func (f clockFuncR3) Read() (ClockReading, error) { return f() }
12
13type apiFuncR3 func(context.Context, string, runnerproto.RunnerRequest, any) error
14
15func (f apiFuncR3) Call(c context.Context, o string, q runnerproto.RunnerRequest, v any) error {
16 return f(c, o, q, v)
17}
18