app

package
v0.0.0-...-6c5ee20 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package app provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.9.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveUsersResponse

type ActiveUsersResponse struct {
	Count int `json:"count"`
}

ActiveUsersResponse defines model for ActiveUsersResponse.

type CreateUserJSONBody

type CreateUserJSONBody CreateUserRequest

CreateUserJSONBody defines parameters for CreateUser.

type CreateUserJSONRequestBody

type CreateUserJSONRequestBody CreateUserJSONBody

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserRequest

type CreateUserRequest struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

CreateUserRequest defines model for CreateUserRequest.

type CreateUserResponse

type CreateUserResponse struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

CreateUserResponse defines model for CreateUserResponse.

type LoginUserJSONBody

type LoginUserJSONBody LoginUserRequest

LoginUserJSONBody defines parameters for LoginUser.

type LoginUserJSONRequestBody

type LoginUserJSONRequestBody LoginUserJSONBody

LoginUserJSONRequestBody defines body for LoginUser for application/json ContentType.

type LoginUserRequest

type LoginUserRequest struct {
	// The user name for login
	Name string `json:"name"`

	// The password for login in clear text
	Password string `json:"password"`
}

LoginUserRequest defines model for LoginUserRequest.

type LoginUserResonse

type LoginUserResonse struct {
	// A url for websoket API with a one-time token for starting chat
	Url string `json:"url"`
}

LoginUserResonse defines model for LoginUserResonse.

type StartChatParams

type StartChatParams struct {
	// One time token for a loged user
	Token string `json:"token"`
}

StartChatParams defines parameters for StartChat.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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