Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
AddEvent(ctx context.Context, event repository.Event) (string, error)
ListEvent(ctx context.Context, userId uint64) ([]repository.Event, error)
DeleteEvent(ctx context.Context, eventId string, userId uint64) error
SignUp(ctx context.Context, user repo.User) (uint64, token.Token, error)
Login(ctx context.Context, user repo.User) (uint64, token.Token, error)
Logout(ctx context.Context, token token.Token) error
}
func NewWebApiService ¶
func NewWebApiService(calendarClient pb.CalendarClient, accountClient pb2.AccountClient) Service
Click to show internal directories.
Click to hide internal directories.