app

package
v0.0.0-...-40a491f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App struct

func NewApp

func NewApp() *App

NewApp creates a new App application struct

func (*App) GetAccessToken

func (a *App) GetAccessToken() string

func (*App) SetAccessToken

func (a *App) SetAccessToken(token string)

func (*App) Startup

func (a *App) Startup(ctx context.Context)

startup is called when the app starts. The context is saved so we can call the runtime methods

type Config

type Config struct {
	AccessToken string `json:"access_token"`
}

type Meta

type Meta struct {
	Version string `json:"version"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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