package server

import (
	"code.justin.tv/live/autohost/internal/hosting/logic"
	"code.justin.tv/live/autohost/rpc/hosting"
)

type TwirpHandlers struct {
	Logic logic.Logic
}

// TwirpHandlers should implement the hosting.Hosting interface.
var _ hosting.Hosting = &TwirpHandlers{}

func NewTwirpHandlers(l logic.Logic) *TwirpHandlers {
	return &TwirpHandlers{
		Logic: l,
	}
}
