Live video on the AT Protocol
1package spxrpc
2
3import (
4 "context"
5 "time"
6
7 "github.com/bluesky-social/indigo/util"
8 placestreamtypes "stream.place/streamplace/pkg/streamplace"
9)
10
11func (s *Server) handlePlaceStreamServerGetServerTime(ctx context.Context) (*placestreamtypes.ServerGetServerTime_Output, error) {
12 serverTime := time.Now().UTC().Format(util.ISO8601)
13 return &placestreamtypes.ServerGetServerTime_Output{
14 ServerTime: serverTime,
15 }, nil
16}