Documentation ¶
Index ¶
- Constants
- type LangpackServiceImpl
- func (s *LangpackServiceImpl) LangpackGetDifference(ctx context.Context, request *mtproto.TLLangpackGetDifference) (*mtproto.LangPackDifference, error)
- func (s *LangpackServiceImpl) LangpackGetLangPack(ctx context.Context, request *mtproto.TLLangpackGetLangPack) (*mtproto.LangPackDifference, error)
- func (s *LangpackServiceImpl) LangpackGetLangPackLayer71(ctx context.Context, request *mtproto.TLLangpackGetLangPackLayer71) (*mtproto.LangPackDifference, error)
- func (s *LangpackServiceImpl) LangpackGetLanguages(ctx context.Context, request *mtproto.TLLangpackGetLanguages) (*mtproto.Vector_LangPackLanguage, error)
- func (s *LangpackServiceImpl) LangpackGetLanguagesLayer70(ctx context.Context, request *mtproto.TLLangpackGetLanguagesLayer70) (*mtproto.Vector_LangPackLanguage, error)
- func (s *LangpackServiceImpl) LangpackGetStrings(ctx context.Context, request *mtproto.TLLangpackGetStrings) (*mtproto.Vector_LangPackString, error)
Constants ¶
View Source
const (
LANG_PACK_EN_FILE = "./lang_pack_en.toml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LangpackServiceImpl ¶
type LangpackServiceImpl struct { }
func NewLangpackServiceImpl ¶
func NewLangpackServiceImpl(models []core.CoreModel) *LangpackServiceImpl
func (*LangpackServiceImpl) LangpackGetDifference ¶
func (s *LangpackServiceImpl) LangpackGetDifference(ctx context.Context, request *mtproto.TLLangpackGetDifference) (*mtproto.LangPackDifference, error)
langpack.getDifference#b2e4d7d from_version:int = LangPackDifference;
func (*LangpackServiceImpl) LangpackGetLangPack ¶
func (s *LangpackServiceImpl) LangpackGetLangPack(ctx context.Context, request *mtproto.TLLangpackGetLangPack) (*mtproto.LangPackDifference, error)
langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;
func (*LangpackServiceImpl) LangpackGetLangPackLayer71 ¶
func (s *LangpackServiceImpl) LangpackGetLangPackLayer71(ctx context.Context, request *mtproto.TLLangpackGetLangPackLayer71) (*mtproto.LangPackDifference, error)
langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference;
func (*LangpackServiceImpl) LangpackGetLanguages ¶
func (s *LangpackServiceImpl) LangpackGetLanguages(ctx context.Context, request *mtproto.TLLangpackGetLanguages) (*mtproto.Vector_LangPackLanguage, error)
langpack.getLanguages#42c6978f lang_pack:string = Vector<LangPackLanguage>;
func (*LangpackServiceImpl) LangpackGetLanguagesLayer70 ¶
func (s *LangpackServiceImpl) LangpackGetLanguagesLayer70(ctx context.Context, request *mtproto.TLLangpackGetLanguagesLayer70) (*mtproto.Vector_LangPackLanguage, error)
langpack.getLanguages#800fd57d = Vector<LangPackLanguage>;
func (*LangpackServiceImpl) LangpackGetStrings ¶
func (s *LangpackServiceImpl) LangpackGetStrings(ctx context.Context, request *mtproto.TLLangpackGetStrings) (*mtproto.Vector_LangPackString, error)
langpack.getStrings#2e1ee318 lang_code:string keys:Vector<string> = Vector<LangPackString>;
Click to show internal directories.
Click to hide internal directories.