realmscfg

package
v0.0.0-...-8ff35f7 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package realmscfg contains code to work with realms.cfg

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context) (*realms.RealmsCfg, error)

Get returns the config stored in context.

func SetConfig

func SetConfig(ctx context.Context, cfg *realms.RealmsCfg) error

SetConfig installs the cfg into the context ctx.

func Update

func Update(ctx context.Context) error

Update fetches the config and puts it into the datastore.

It is then used by all requests that go through Middleware.

Types

This section is empty.

Jump to

Keyboard shortcuts

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