server

package
v0.0.0-...-b911265 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

type UserSettingsServer

type UserSettingsServer struct {
	// contains filtered or unexported fields
}

UserSettingsServer is a map of user Id to map of

func New

func New(db *postgres.DB, storage storage.Client) *UserSettingsServer

New constructs a UserSettingsServer object

func (*UserSettingsServer) DeleteUserSettings

rpc DeleteUserSettings(DeleteUserSettingsRequest) returns (DeleteUserSettingsResponse){

func (*UserSettingsServer) GetUserSettings

GetUserSettings is the implementation of api /user-settings/{user.name}/{user.connector}

func (*UserSettingsServer) PutUserSettings

rpc UpdateUserSettings(PutUserSettings) returns (UpdateUserSettingsResponse) {

Jump to

Keyboard shortcuts

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