Documentation ¶
Index ¶
Constants ¶
View Source
const InterfaceName = "unity_wg0"
Variables ¶
View Source
var Discordtoken = auth.TokenSecret{ Secret: credstore.Secret{ Name: "unitylan:auth_token", }, }
Functions ¶
This section is empty.
Types ¶
type ClientService ¶
type ClientService struct { *Context // contains filtered or unexported fields }
func NewClientService ¶
func NewClientService(ctx *Context) *ClientService
func (*ClientService) Start ¶
func (srv *ClientService) Start()
type Context ¶
type Context struct { context.Context *zap.SugaredLogger Clients // contains filtered or unexported fields }
func (*Context) OnDoneClose ¶
type DiscordAuth ¶
type DiscordAuth struct {
// contains filtered or unexported fields
}
func (*DiscordAuth) AuthCodeURL ¶
func (auth *DiscordAuth) AuthCodeURL() string
func (*DiscordAuth) DiscordClientInit ¶
func (auth *DiscordAuth) DiscordClientInit() error
func (*DiscordAuth) InitFromStore ¶
func (auth *DiscordAuth) InitFromStore() error
func (*DiscordAuth) OpenAuthPage ¶
func (auth *DiscordAuth) OpenAuthPage() error
Click to show internal directories.
Click to hide internal directories.