Documentation ¶
Index ¶
- type AddEntryInput
- type AddEntryOutput
- type Config
- type CreateInput
- type CreateOutput
- type GetInput
- type GetOutput
- type GetTabInput
- type GetTabOutput
- type Interface
- type JoinInput
- type JoinOutput
- type LeaveInput
- type LeaveOutput
- type PayDrinkInput
- type PayDrinkOutput
- type Redis
- func (r *Redis) AddEntry(ctx context.Context, input *AddEntryInput) (*AddEntryOutput, error)
- func (r *Redis) Create(ctx context.Context, input *CreateInput) (*CreateOutput, error)
- func (r *Redis) Get(ctx context.Context, input *GetInput) (*GetOutput, error)
- func (r *Redis) GetTab(ctx context.Context, input *GetTabInput) (*GetTabOutput, error)
- func (r *Redis) Join(ctx context.Context, input *JoinInput) (*JoinOutput, error)
- func (r *Redis) Leave(ctx context.Context, input *LeaveInput) (*LeaveOutput, error)
- func (r *Redis) PayDrink(ctx context.Context, input *PayDrinkInput) (*PayDrinkOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddEntryInput ¶
type AddEntryOutput ¶
type CreateInput ¶
type CreateOutput ¶
type GetTabInput ¶
type GetTabOutput ¶
type GetTabOutput struct {
Count int
}
type Interface ¶
type Interface interface { Create(ctx context.Context, input *CreateInput) (*CreateOutput, error) Get(ctx context.Context, input *GetInput) (*GetOutput, error) Join(ctx context.Context, input *JoinInput) (*JoinOutput, error) AddEntry(ctx context.Context, input *AddEntryInput) (*AddEntryOutput, error) GetTab(ctx context.Context, input *GetTabInput) (*GetTabOutput, error) PayDrink(ctx context.Context, input *PayDrinkInput) (*PayDrinkOutput, error) }
type JoinOutput ¶
type JoinOutput struct{}
type LeaveInput ¶
type LeaveOutput ¶
type LeaveOutput struct{}
type PayDrinkInput ¶
type PayDrinkOutput ¶
type PayDrinkOutput struct{}
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func (*Redis) AddEntry ¶
func (r *Redis) AddEntry(ctx context.Context, input *AddEntryInput) (*AddEntryOutput, error)
func (*Redis) Create ¶
func (r *Redis) Create(ctx context.Context, input *CreateInput) (*CreateOutput, error)
func (*Redis) GetTab ¶
func (r *Redis) GetTab(ctx context.Context, input *GetTabInput) (*GetTabOutput, error)
func (*Redis) Leave ¶
func (r *Redis) Leave(ctx context.Context, input *LeaveInput) (*LeaveOutput, error)
func (*Redis) PayDrink ¶
func (r *Redis) PayDrink(ctx context.Context, input *PayDrinkInput) (*PayDrinkOutput, error)
Click to show internal directories.
Click to hide internal directories.