jdocsserver

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBotInInfo

func IsBotInInfo(esn string) bool

func StoreBotInfo

func StoreBotInfo(ctx context.Context, thing string)

func WriteToIniPrimary

func WriteToIniPrimary(botName, esn, guid, ip string)

This function write a bot name, esn, guid, and target to sdk_config.ini Should only be used for primary auth IP should just be "xxx.xxx.xxx.xxx", no port

func WriteToIniSecondary

func WriteToIniSecondary(esn, guid, ip string)

Less information is given with a secondary auth request, we have to get the cert from the Anki servers If a cert is already there, it does not get the Anki server cert

Types

type JdocServer

type JdocServer struct {
	jdocspb.UnimplementedJdocsServer
}

func NewJdocsServer

func NewJdocsServer() *JdocServer

func (*JdocServer) ReadDocs

func (*JdocServer) WriteDoc

Jump to

Keyboard shortcuts

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