repository

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BroadCasterRepository

type BroadCasterRepository interface {
	SetNewClient(websocket *websocket.Conn, identifier, clientid string)
	DeleteClient(websocket *websocket.Conn)
	ReadMessage(websocket *websocket.Conn, identifier, clientid, username string) error
	BroadcastMessages()
}

BroadCasterRepository interface

type ChatRoomRepository added in v0.2.0

type ChatRoomRepository interface {
	Set(roomname, password string) error
	GetRoomName() string
	GetIdentifier() string
	ComparePassword(password string) error
	GobEncode() ([]byte, error)
	GobDecode(buf []byte) error
}

ChatRoomRepository interface

type CookieRepository added in v0.2.0

type CookieRepository interface {
	Set(key, value string)
	GetCookie() *http.Cookie
}

CookieRepository interface

type JwtClaimsRepository added in v0.2.0

type JwtClaimsRepository interface {
	CreateToken() string
}

JwtClaimsRepository interface

Jump to

Keyboard shortcuts

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