core

package
v0.86.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LangpackCore

type LangpackCore struct {
	logx.Logger
	MD *metadata.RpcMetadata
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, svcCtx *svc.ServiceContext) *LangpackCore

func (*LangpackCore) LangpackGetDifference

func (c *LangpackCore) LangpackGetDifference(in *mtproto.TLLangpackGetDifference) (*mtproto.LangPackDifference, error)

LangpackGetDifference langpack.getDifference#cd984aa5 lang_pack:string lang_code:string from_version:int = LangPackDifference;

func (*LangpackCore) LangpackGetLangPack

LangpackGetLangPack langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;

func (*LangpackCore) LangpackGetLanguage

func (c *LangpackCore) LangpackGetLanguage(in *mtproto.TLLangpackGetLanguage) (*mtproto.LangPackLanguage, error)

LangpackGetLanguage langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage;

func (*LangpackCore) LangpackGetLanguages

LangpackGetLanguages langpack.getLanguages#42c6978f lang_pack:string = Vector<LangPackLanguage>;

func (*LangpackCore) LangpackGetStrings

LangpackGetStrings langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;

Jump to

Keyboard shortcuts

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