Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
424 B · 16 lines
1234567891011121314151617package spxrpc
import ( "context" "time"
"github.com/bluesky-social/indigo/util" placestreamtypes "stream.place/streamplace/pkg/placestream")
func (s *Server) handlePlaceStreamServerGetServerTime(ctx context.Context) (*placestreamtypes.ServerGetServerTime_Output, error) { serverTime := time.Now().UTC().Format(util.ISO8601) return &placestreamtypes.ServerGetServerTime_Output{ ServerTime: serverTime, }, nil}