Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBotInInfo ¶
func StoreBotInfo ¶
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 (s *JdocServer) ReadDocs(ctx context.Context, req *jdocspb.ReadDocsReq) (*jdocspb.ReadDocsResp, error)
func (*JdocServer) WriteDoc ¶
func (s *JdocServer) WriteDoc(ctx context.Context, req *jdocspb.WriteDocReq) (*jdocspb.WriteDocResp, error)
Click to show internal directories.
Click to hide internal directories.