/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
go/service/chat_local.go
35 строк
966 B
zoom-ua
enable linters: ineffassign, unused, staticcheck (#28735)
23 дек 2025, 02:24
Не верифицирован
23 дек 2025, 02:24
e0e297e
Код
Авторство
О чём код?
// Copyright 2016 Keybase, Inc. All rights reserved. Use of // this source code is governed by the included BSD license. package service import ( "github.com/keybase/client/go/chat" "github.com/keybase/client/go/chat/globals" "github.com/keybase/client/go/libkb" "github.com/keybase/client/go/protocol/keybase1" "github.com/keybase/go-framed-msgpack-rpc/rpc" ) // chatLocalHandler implements keybase1.chatLocal. type chatLocalHandler struct { *BaseHandler *chat.Server } // newChatLocalHandler creates a chatLocalHandler. func newChatLocalHandler(xp rpc.Transporter, g *globals.Context, gh *gregorHandler) *chatLocalHandler { h := &chatLocalHandler{ BaseHandler: NewBaseHandler(g.ExternalG(), xp), } h.Server = chat.NewServer(g, gh, h) return h } func (h *chatLocalHandler) GetChatUI(sessionID int) libkb.ChatUI { return h.getChatUI(sessionID) } func (h *chatLocalHandler) GetStreamUICli() *keybase1.StreamUiClient { return h.getStreamUICli() }