greatape/app/commands/spi/logout.go

9 wiersze
183 B
Go

package spi
import . "github.com/reiver/greatape/components/contracts"
func Logout(x IDispatcher) (ILogoutResult, error) {
x.Ensure(x.SignOut())
return x.NewLogoutResult(), nil
}