session

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(srv *server.Server)

Types

type CreateOrJoinSessionInput

type CreateOrJoinSessionInput struct {
	ID       string `form:"id"`
	Team     string `form:"team"`
	Username string `form:"username"`
}

func (CreateOrJoinSessionInput) Validate

func (input CreateOrJoinSessionInput) Validate() error

type GetSessionInput

type GetSessionInput struct {
	ID string `param:"id"`
}

func (GetSessionInput) Validate

func (input GetSessionInput) Validate() error

type PatchSessionInput

type PatchSessionInput struct {
	SessionID string `param:"id"`

	Summary string `form:"summary"`
	URL     string `form:"url"`
}

func (PatchSessionInput) Validate

func (input PatchSessionInput) Validate() error

type PatchSizingTypeInput

type PatchSizingTypeInput struct {
	SessionID  string `param:"id"`
	SizingType string `param:"sizingType"`
}

func (PatchSizingTypeInput) Validate

func (input PatchSizingTypeInput) Validate() error

type PatchSizingValueInput

type PatchSizingValueInput struct {
	SessionID   string `param:"id"`
	SizingType  string `param:"sizingType"`
	SizingValue string `param:"sizingValue"`
}

func (PatchSizingValueInput) Validate

func (input PatchSizingValueInput) Validate() error

type Session

type Session struct {
	ID        string    `json:"id"`
	Team      string    `json:"team"`
	CreatedAt time.Time `json:"createdAt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL